method

each_nested_attribute

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: Parameters
each_nested_attribute() protected

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 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
Register or log in to add new notes.