method

array_of_permitted_scalars_filter

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: Parameters
array_of_permitted_scalars_filter(params, key) 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 555
      def array_of_permitted_scalars_filter(params, key)
        if has_key?(key) && array_of_permitted_scalars?(self[key])
          params[key] = self[key]
        end
      end
Register or log in to add new notes.