Open jscheid opened 12 years ago
@jscheid any ideas for how you'd like to have this implemented? I usually render errors in a _messages.html.erb
partial file when I'm running with a Rails rendered stack.
Maybe one idea is catching errors from the Backbone.sync event fire, and then render whatever errors are generated from that. Would love to consider adding this to http://westonplatter.com/railsy_backbone.
Happy to work PRs through the system. :)
It seems that the generated new.jst.ejs and edit.jst.ejs templates don't contain code to show any server-side errors that occurred when saving/updating the model.
The generated code reads:
... when it should probably read something more like: