Skip to content

Commit

Permalink
change to use release api url
Browse files Browse the repository at this point in the history
  • Loading branch information
sivakumar-kailasam authored Mar 9, 2018
1 parent 6138557 commit d7c0b69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/models/finding-records.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ let blogPosts = this.get('store').peekAll('blog-post'); // => no network request

`store.findAll()` returns a `DS.PromiseArray` that fulfills to a `DS.RecordArray` and `store.peekAll` directly returns a `DS.RecordArray`.

It's important to note that `DS.RecordArray` is not a JavaScript array, it's an object that implements [`Ember.Enumerable`](https://emberjs.com/api/ember/2.15/classes/Ember.Enumerable).
It's important to note that `DS.RecordArray` is not a JavaScript array, it's an object that implements [`Ember.Enumerable`](https://emberjs.com/api/ember/release/classes/Ember.Enumerable).
This is important because, for example, if you want to retrieve records by index,
the `[]` notation will not work--you'll have to use `objectAt(index)` instead.

Expand Down

0 comments on commit d7c0b69

Please sign in to comment.