method

array_of_permitted_scalars_filter

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Parameters

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

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.