Module: ActsAsAble::Disser::ClassMethods
- Defined in:
- lib/acts_as_able/disser.rb
Instance Method Summary collapse
-
#acts_as_disser ⇒ Object
Those call this method has the ability to be unlike by others.
Instance Method Details
#acts_as_disser ⇒ Object
Those call this method has the ability to be unlike by others
11 12 13 14 |
# File 'lib/acts_as_able/disser.rb', line 11 def acts_as_disser include ActsAsAble::AbleExt has_many :disses, as: :disser, dependent: :destroy, class_name: 'Diss' # 有很多不喜欢的 Object end |