instance method
resource_errors
Ruby on Rails 4.1.16
Since v3.2.22.5 Last seen in v4.1.16Signature
resource_errors()
No documentation comment.
Source
# File actionpack/lib/action_controller/metal/responder.rb, line 285
def resource_errors
respond_to?("#{format}_resource_errors", true) ? send("#{format}_resource_errors") : resource.errors
end
Defined in actionpack/lib/action_controller/metal/responder.rb line 285
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Responder