emberjs/data — pull request #1348 by tricknotes (2013-09-23 17:02:01+00:00)
Title: Support embedded objects extraction

I supported embedded objects extraction via `DS.ActiveModelSerializer`.

When the related objects are embedded in parent object such as the following json:

``` json
{
"post": {
"id": 1,
"comments": [
{"id": 1, "title": "hi", "body": "Foo"}
]
}
}
```

We can extract it via its serializer:

``` javascript
App.PostSerializer = DS.ActiveModelSerializer.extend({
attrs: {
comments: { embedded: 'always' } // or 'load'
}
});
```