method

permit_hash_or_array

rails latest stable - Class: ActionController::Parameters

Method not available on this version

This method is only available on newer versions. The first available version (v8.0.0) is shown here.

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