instance method
deep_transform_values!
Ruby on Rails edge
Since edgeSignature
deep_transform_values!(&block)
Returns the same ActionController::Parameters instance with changed values. This includes the values from the root hash and from all nested hashes and arrays. The keys are unchanged.
Parameters
-
blockblock
Source
# File actionpack/lib/action_controller/metal/strong_parameters.rb, line 990
def deep_transform_values!(&block)
@parameters = _deep_transform_values_in_object!(@parameters, &block)
self
end
Defined in actionpack/lib/action_controller/metal/strong_parameters.rb line 990
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Parameters