ember_data_example
ember_data_example copied to clipboard
restAdapter needs error handling
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.
A possible solution: https://github.com/emberjs/data/pull/87
A more recent PR to watch: https://github.com/emberjs/data/pull/376
Even more recent: emberjs/data/pull/958