instance method
json_resource_errors
Ruby on Rails 4.1.16
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 289
def json_resource_errors
{:errors => resource.errors}
end
Defined in actionpack/lib/action_controller/metal/responder.rb line 289
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Responder