method
array_of_permitted_scalars_filter
array_of_permitted_scalars_filter(params, key)
private
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