emberjs/data — pull request #115 by juggy (2012-02-23 20:29:23+00:00)
Title: Create record from an association directly.

Hello,

I spoke about this with @wycats this morning. With this pull request you can directly create a new record directly on the association. So instead of:

```
var myRecord = store.createRecord({...});
otherRecord.get("association").pushObject(myRecord);
```
You can do:
```
otherRecord.get("association").create({...})
```

It will use the parentRecord store to create the record.

This somewhat reflects Rails functionality in regards to relations and gives a clear direction to the user as to how to use them.

Thanks,
Julien.