Just getting started with ActiveResource. If model validation fails
on the server side, will ARes map the xml error messages so that <%=
error_messages_for :model %> will still automagically work?
I’m trying to split a standard Rails app into front end vs. RESTful
web service, where the actual model validations are happening in the
web service, but I’m wondering how to glue back together the HTML
error messages on the form.
On your “server” application the you’ll respond with render :xml => @object.errors.to_xml which generates xml like and these will be
automatically consumed by ARes.