# File lib/mongoid/relations/referenced/many.rb, line 31 def <<(*args) batched do args.flatten.each do |doc| next unless doc append(doc) doc.save if persistable? && !doc.validated? end end end