from_json(json)
Grabs errors from the json response.
# File activeresource/lib/active_resource/validations.rb, line 218 def from_json(json) array = ActiveSupport::JSON.decode(json)['errors'] rescue [] from_array array end