method

nested_attribute?

nested_attribute?(key, value)
public

No documentation available.

# File actionpack/lib/action_controller/metal/strong_parameters.rb, line 266
      def nested_attribute?(key, value) # :nodoc:
        /\A-?\d+\z/.match?(key) && (value.is_a?(Hash) || value.is_a?(Parameters))
      end