PATCH ActiveResource: support validations errors messages in json


i submitted a patch a week ago to support validation messages in json for ActiveResource. Currently, only xml are supported and the xml parser is called even if response is in json format.

Ticket is at #1956 [PATCH] json validations errors for ActiveResource - Ruby on Rails - rails

and patch itself :