class method
self.new
Ruby on Rails 6.1.7.10
Since v6.1.7.10 Last seen in v6.1.7.10Signature
self.new(error)
No documentation comment.
Parameters
-
errorreq
Source
# File actionpack/lib/action_controller/metal/strong_parameters.rb, line 31
def initialize(error)
@error = error
end
Defined in actionpack/lib/action_controller/metal/strong_parameters.rb line 31
· View on GitHub
· Improve this page
· Find usages on GitHub