rails/activeresource — pull request #124 by midwire (2014-04-10 18:29:46+00:00)
Title: Use the exception messages returned from the server

Here I simply pass the response.body, as the 'message' argument, to the various exception constructors. If we don't do this the 'message' argument is always nil and quite useless.