instance method
values_at
Ruby on Rails 7.2.3
Since v5.2.8.1Signature
values_at(*keys)
Returns values that were assigned to the given keys. Note that all the Hash objects will be converted to ActionController::Parameters.
Parameters
-
keysrest
Source
# File actionpack/lib/action_controller/metal/strong_parameters.rb, line 878
def values_at(*keys)
convert_value_to_parameters(@parameters.values_at(*keys))
end
Defined in actionpack/lib/action_controller/metal/strong_parameters.rb line 878
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Parameters