rollbackAttributes
If the model hasDirtyAttributes this function will discard any unsaved changes. If the model isNew it will be removed from the store.
Example
record.get('name'); // 'Untitled Document'
record.set('name', 'Doc 1');
record.get('name'); // 'Doc 1'
record.rollbackAttributes();
record.get('name'); // 'Untitled Document'
Please login to continue.