method
permit_hash_or_array
v8.0.0 -
Show latest stable
- Class:
ActionController::Parameters
permit_hash_or_array(value, filter, on_unpermitted:, explicit_arrays:)private
No documentation available.
# File actionpack/lib/action_controller/metal/strong_parameters.rb, line 1398
def permit_hash_or_array(value, filter, on_unpermitted,, explicit_arrays))
permit_array_of_hashes(value, filter, on_unpermitted,, explicit_arrays)) ||
permit_hash(value, filter, on_unpermitted,, explicit_arrays))
end