Validate and save automatically related Active Record models.
beforeValidate
and afterSave
events.testLoadRelationsShouldSucceed
test caseUse of ActiveQueryInterface and BaseActiveRecord to ensure broader DB driver compatibility
Fix for relations as array being inserted then deleted instead of being updated
Fix for empty value assignment on HasMany relations
Fix for bug #12 (Thx @magicaner)
Add SaveRelationsTrait Add ability to set HasMany relation using a single object (Thanks to @sankam-nikolya and @k0R73z))
Fix a bug that was preventing new records to be correctly saved for hasMany relations.
Setting null for a named relation is now correctly handled. A new related model instance was previously generated instead.
First release.