Module: SocialEngine::Rateable

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

Defined Under Namespace

Modules: InstanceMethods

Instance Method Summary collapse

Instance Method Details

#is_rateableObject



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

def is_rateable
  has_many :ratings, :as=>:rateable, :dependent=>:destroy
  include InstanceMethods
end