So I guess my question is this: is this the expected behavior? I can’t find any documentation on setting boolean values directly on the model like this anywhere in the Ember.Data docs.
Using a boolean instead of DS.attr(‘boolean’) in previous versions of ember.data dirtied the model. I’ve recently upgraded to ember.data 1.0.0-beta.8 and I’ve noticed this behavior change.
Trying to figure out if this is by design or a bug.
oh! Yeah, that makes sense. How old is the Ember Data you’re using? You may also want to look into the .find() changes if you’re coming from a really old version.
Not to serialize attributes different from DS.attr() allows you to have local properties on your models that does not affect the communication with the server.
Say, a computed property calculated over a bunch of other attributes that make sense on the client side, but there is no need for the server to store or bother about.