Open paglias opened 11 years ago
If a model is already in a collection (by checking its id) it shouldn't be added to the collection, its attributes should be merged with the existing one or it should throw an error?
id
If a model is already in a collection (by checking its
id
) it shouldn't be added to the collection, its attributes should be merged with the existing one or it should throw an error?