-
- Downloads
In seeding, actually link to the corresponding objects
Previously, we would pass ids to the creation handler. However, this does not pass validations whenever the association is non-optional (i.e. belongs_to). With these changes, we pass the actual Rails objects instead of just the ids, which does pass the validations and sets it properly.
Please sign in to comment