Changes between Version 2 and Version 3 of Ticket #24753, comment 1
- Timestamp:
- 07/22/2013 05:53:37 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24753, comment 1
v2 v3 22 22 23 23 - `Collection.add()` is now a wrapper for `Collection.set()`, which basically replaces `Collection.update()` in 0.9.10 as well. The difference is, `Attachments.parse()` should expect to be passed in these kinds of value, besides an array of non-Model JSON objects: 24 1. An array containing a mix of Model objects as JSONobjects.24 1. An array containing a mix of Models as well as plain attribute objects. 25 25 2. A single Model (not an array). 26 26