method

convert_value_to_parameters

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: Parameters
convert_value_to_parameters(value) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/metal/strong_parameters.rb, line 835 def convert_value_to_parameters(value) case value when Array return value if converted_arrays.member?(value) converted = value.map { |_| convert_value_to_parameters(_) } converted_arrays << converted converted when Hash self.class.new(value) else value end end
Register or log in to add new notes.