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