toranb/ember-data-django-rest-adapter — pull request #43 by craigteegarden (2013-09-27 15:04:48+00:00)
Title: Ember1.0 robustify extractDjangoRelationship

I store JSON objects in some models that deserialized to arrays which were being mistaken for embedded records by the old extractDjangoPayload method.

Changes to `extractDjangoPayload`:

- only check relationships for embedded records (can't have embedded records inside of normal attributes)
- use `DjangoRESTSerializer.pushArrayPayload` to make sure normalization is applied to embedded records.