method

specify_numeric_keys?

Importance_0
v7.0.0 - Show latest stable - 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 975
      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.