emberjs/data — pull request #180 by escalant3 (2012-04-01 13:15:21+00:00)
Title: addBelongsToToJSON bug

This method was looking for the custom defined key names in the wrong options object. Those properties are stored in the meta.options object.

This patch fixes the problem allowing to define custom belongsTo keys in the models.