method
each_nested_attribute
v7.1.3.4 -
Show latest stable
- Class:
ActionController::Parameters
each_nested_attribute()protected
No documentation available.
# File actionpack/lib/action_controller/metal/strong_parameters.rb, line 989
def each_nested_attribute
hash = self.class.new
self.each { |k, v| hash[k] = yield v if Parameters.nested_attribute?(k, v) }
hash
end