forked from emberjs/data
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makes model/record terminology consistent.
Previously, there was some confusion internally about what was a record and what was a model. This commit makes the terminology consistent. A model is a schema definition that creates a subclass of DS.Model. Instances of those subclasses are called records. A record corresponds to a single entry in the persistence layer, as loaded by the adapter. To support this change, DS.ModelArray and its subclasses are now named DS.RecordArray. Since you should not be using these class names directly (but rather have them returned by store methods such as find() and filter()), this should not be a breaking API change and thus we have not updated the API revision number.
- Loading branch information
tomhuda
committed
Apr 17, 2012
1 parent
575251a
commit 9745f06
Showing
24 changed files
with
460 additions
and
457 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.