I'm trying to update my Ember.js app to Ember Data 1.0 Beta. What I have is working with Ember Data 0.14. With the new version I need to manually set typeKey for a model in order for the REST request to have proper path.
I have simple model:
App.Product = DS.Model.extend
name: DS.attr('string')
In Ember Data 1.0 Beta I need to add this in order to get it to work:
App.Product.typeKey = 'product'
Otherwise buildURL method always get passed undefined [buildURL(type.typeKey, …)].