method

specify_numeric_keys?

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Parameters
specify_numeric_keys?(filter) 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 1038
      def specify_numeric_keys?(filter)
        if filter.respond_to?(:keys)
          filter.keys.any? { |key| /\A-?\d+\z/.match?(key) }
        end
      end
Register or log in to add new notes.