Ember Data now uses a snapshot of the model when serializing a record. From what I’ve read, I think this change should be invisible to developers. However, using the RESTSerializer, when I request a model, make a change to an attribute and then call model.save(), I’m getting an error on the following line of the serializeAttribute function
var value = snapshot.attr(key);
that undefined is not a function.
The actual snapshot object looks like a record instead of a snapshot (there is no attr function associated with it). Is there a step where I actually create the snapshot? Am I missing something?