I\'ve kinda been struggling with this for some time; let\'s see if somebody can help me out.
Although it\'s not explicitly said in the Readme, ember-data provides somewh
For some unknown reason, the record becomes part of the store default transaction. This code works for me:
var transaction = App.store.transaction();
var record = transaction.createRecord(App.Post);
record.set('someProperty', 'invalid value');
transaction.commit()
record.set('someProperty', 'a valid value');
App.store.commit(); // The record is created in backend
The problem is that after the first failure, you must always use the App.store.commit()
with the problems it has.