Module: SocialEngine::Favoriteable
- Defined in:
- app/models/social_engine/favoriteable.rb
Defined Under Namespace
Modules: InstanceMethods
Instance Method Summary collapse
Instance Method Details
#is_favoriteable ⇒ Object
3 4 5 6 |
# File 'app/models/social_engine/favoriteable.rb', line 3 def is_favoriteable has_many :favorites, :as=>:favoriteable, :dependent => :destroy include InstanceMethods end |