Module: SocialEngine::Voteable

Defined in:
app/models/social_engine/voteable.rb

Defined Under Namespace

Modules: InstanceMethods

Instance Method Summary collapse

Instance Method Details

#is_voteableObject



3
4
5
6
# File 'app/models/social_engine/voteable.rb', line 3

def is_voteable
  has_many :votes, :as=>:voteable, :dependent=>:destroy
  include InstanceMethods
end