Not exactly - I’ll give an example of what I meant. But while I typed it I found out that this not a good solution, because by clearing out the _attributes, the object loses its ability to become dirty again permanently (ember-data 1.0 beta2).
setup:
u = App.store.all('user').objectAt(1)
u.get('isOnline') => false
u.get('isDirty') => false
u.set('isOnline', true)
u.get('isDirty') => true
u._attributes => Object {isOnline: true}
a) with rollback:
u.rollback()
u.get('isDirty') => false
u.get('isOnline') => false
b) with clear _attributes & transition:
u._attributes = {}
u.transitionTo('loaded.saved')
u.get('isDirty') => false
u.get('isOnline') => true