method
array_of_permitted_scalars_filter
Ruby on Rails latest stable (v7.1.3.2)
-
0 notes -
Class: Parameters
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