Open froddd opened 12 years ago
In some cases it would be very handy to be able to save a relationship on its own, without saving the object itself as well.
Proposition: adding a separate method for saving relations on their own, eg:
$object->save_related($related_object, $related_key);
and/or, following the previous many different formats for saving objects with multiple relations:
$object->save_related(array('related_key' => $related_objects->all, 'key_2' => $rel_2->all, ...))
Note: this may already be superseded by the new approach to related object validation, feel free to close if so.
In some cases it would be very handy to be able to save a relationship on its own, without saving the object itself as well.
Proposition: adding a separate method for saving relations on their own, eg:
and/or, following the previous many different formats for saving objects with multiple relations:
Note: this may already be superseded by the new approach to related object validation, feel free to close if so.