Module: Vitrage::ActsAsVitrageOwner::ClassMethods

Defined in:
lib/vitrage/acts_as_vitrage_owner.rb

Instance Method Summary collapse

Instance Method Details

#acts_as_vitrage_ownerObject



6
7
8
9
10
# File 'lib/vitrage/acts_as_vitrage_owner.rb', line 6

def acts_as_vitrage_owner
  has_many :vitrage_slots, class_name: "VitrageOwnersPiecesSlot",
                           as: :owner,
                           dependent: :destroy
end