I have a button that submits the whole form to the server. Sometimes the server responds with errors and the users need to change/update the fields and submit again (common sense?). I'm using this (coffeescript):
@transaction.commit()
However, as I can see from Ember Data - DS.Transaction https://github.com/emberjs/data/blob/master/packages/ember-data/lib/system/transaction.js#L161
...
Once you call `commit()` on a transaction, you should not re-use it.
When a record is saved, it will be removed from this transaction and
moved back to the store's default transaction.
So, how should I submit the form again without refreshing and filling all the data?