restAdapter needs error handling
Opened this issue · 3 comments
dgeb commented
This was intentionally left out initially, as it's unclear how errors should flow from the adapter, and back through the store and model in ember-data.js.
Validations have been added to the Contact model in Rails. If either the first or last name is left blank, a record will not be saved properly. This needs to be conveyed to the user.
dgeb commented
A possible solution: emberjs/data#87
dgeb commented
A more recent PR to watch: emberjs/data#376
ZenCocoon commented
Even more recent: emberjs/data/pull/958