module ActsAsStarable::Starable::ClassMethods
Public Instance Methods
acts_as_starable()
click to toggle source
# File lib/acts_as_starable/starable.rb, line 9 def acts_as_starable has_many :starings, as: :starable, dependent: :destroy, class_name: 'Star' include ActsAsStarable::Starable::InstanceMethods include ActsAsStarable::StarerLib end