On Oct 14, 11:22 am, Mike Gehard <
m...@samyamatech.com> wrote:
> So I can create a User.blueprint() and fill in the properties specific
> to the User class. I can then create an Employee.blueprint and fill
> in the ones that the Employee adds.
Yep.
> Then when I call Employee.make(), Machinist will know that it's gonna
> run the User.blueprint first and then the Employee.blueprint.
Effectively, yes.
Internally, it's actually the other way around: the Employee blueprint
gets run first, then the User blueprint. The User blueprint will only
fill in attributes that weren't set by the Employee blueprint.
- Pete