emberjs/data — pull request #1751 by pixelhandler (2014-02-14 23:09:04+00:00)
Title: Use keyForRelationship in JSONSerializer's serializeHasMany method

- serializeBelongsTo uses the same already

Currently the serializeHasMany method uses only relationship.key; however the serializeBelongsTo correctly looks up the key with optionally calling keyForRelationship if the serializer defines it.