Module: Juixe::Acts::Commentable::ClassMethods
- Defined in:
- lib/commentable_methods.rb
Instance Method Summary collapse
Instance Method Details
#acts_as_commentable ⇒ Object
13 14 15 16 17 |
# File 'lib/commentable_methods.rb', line 13 def acts_as_commentable has_many :comments, :as => :commentable, :dependent => :destroy, :order => 'created_at ASC' include Juixe::Acts::Commentable::InstanceMethods extend Juixe::Acts::Commentable::SingletonMethods end |