instance method
json_resource_errors
Ruby on Rails 3.2.22.5
Since v3.2.22.5 Last seen in v4.1.16Signature
json_resource_errors()
No documentation comment.
Source
# File actionpack/lib/action_controller/metal/responder.rb, line 278
def json_resource_errors
{:errors => resource.errors}
end
Defined in actionpack/lib/action_controller/metal/responder.rb line 278
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Responder