atlanta-ember-org / atlanta-ember-backend

0 stars 0 forks source link

Patrick/respond with errors #15

Closed pdougall1 closed 8 years ago

pdougall1 commented 8 years ago

Providing server side errors in the JSON response helps relay what went wrong back to the user through the UI. This provides an object that converts the ActiveRecord errors to a JSON API formatted response. It uses the Topic resource as an example usage.