Module: ActsAsAble::Commentable::ClassMethods
- Defined in:
- lib/acts_as_able/commentable.rb
Instance Method Summary collapse
-
#acts_as_commentable ⇒ Object
Those call this method has the ability to be unlike by others.
Instance Method Details
#acts_as_commentable ⇒ Object
Those call this method has the ability to be unlike by others
11 12 13 14 |
# File 'lib/acts_as_able/commentable.rb', line 11 def acts_as_commentable include ActsAsAble::AbleExt has_many :commenters, as: :commentable, dependent: :destroy, class_name: 'Comment' end |