Module: PlateCreation::CreationChild

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

Overview

rubocop:todo Style/Documentation

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object


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

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