method

nested_attribute?

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: Parameters
nested_attribute?(key, value) public

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 259
      def nested_attribute?(key, value) # :nodoc:
        /\A-?\d+\z/.match?(key) && (value.is_a?(Hash) || value.is_a?(Parameters))
      end
Register or log in to add new notes.