Currently I have a model setup like this
App.Specialty = DS.Model.extend({
//specialty_id: attr(),
name: attr()
});
It has a primaryKey being returned from the json api called specialty_id
instead of id
(what ember data probably expects).
So not fiddling with anything ember data gets two objects where one it uses the id as whatever parameter and the second one it gets the right object but has id as undefined.
How can I let ember data know that it should be searching for specialty_id
instead?