instance method
convert_hashes_to_parameters
Ruby on Rails 6.0.6
Since v4.0.13 PrivateSignature
convert_hashes_to_parameters(key, value)
No documentation comment.
Parameters
-
keyreq -
valuereq
Source
# File actionpack/lib/action_controller/metal/strong_parameters.rb, line 842
def convert_hashes_to_parameters(key, value)
converted = convert_value_to_parameters(value)
@parameters[key] = converted unless converted.equal?(value)
converted
end
Defined in actionpack/lib/action_controller/metal/strong_parameters.rb line 842
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Parameters