Module: PlateCreation::CreationChild

Included in:
Plate
Defined in:
app/models/plate_creation.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object


43
44
45
46
47
# File 'app/models/plate_creation.rb', line 43

def self.included(base)
  base.class_eval do
    has_many :plate_creations, foreign_key: :child_id
  end
end