method
nested_attribute?
v6.1.3.1 -
Show latest stable
- Class:
ActionController::Parameters
nested_attribute?(key, value)public
No documentation available.
# 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