toranb/ember-data-django-rest-adapter — pull request #47 by craigteegarden (2013-10-01 18:53:53+00:00)
Title: Ember1.0 getHasManyAttributeName error when some records already loaded

If some of the records are already loaded, then the array of ids sent to `getHasManyAttributeName` will not directly match the list of ids for the relationship, causing it to return `undefined` which causes an error.

This updates the `getHasManyAttributeName` method to match attributes that at least have the requested ids present in their array instead of requiring a direct match.