Flowdock
method

convert_parameters_to_hashes

Importance_0
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: Parameters
convert_parameters_to_hashes(value, using) 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 814
      def convert_parameters_to_hashes(value, using)
        case value
        when Array
          value.map { |v| convert_parameters_to_hashes(v, using) }
        when Hash
          value.transform_values do |v|
            convert_parameters_to_hashes(v, using)
          end.with_indifferent_access
        when Parameters
          value.send(using)
        else
          value
        end
      end
Register or log in to add new notes.