# File lib/mongoid/relations/builders/nested_attributes/many.rb, line 21
          def build(parent)
            @existing = parent.send(metadata.name)
            if over_limit?(attributes)
              raise Errors::TooManyNestedAttributeRecords.new(existing, options[:limit])
            end
            attributes.each do |attrs|
              if attrs.respond_to?(:with_indifferent_access)
                process(parent, attrs)
              else
                process(parent, attrs[1])
              end
            end
          end