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