Removed the automatic addition of ObjectID for object['_id'] missing

This commit is contained in:
Adrian Madrid 2008-12-06 14:29:26 -07:00
parent 761b125687
commit 3a5e578528
1 changed files with 0 additions and 1 deletions

View File

@ -153,7 +153,6 @@ module XGen
end
def insert_into_db(collection, objects)
objects.each { |o| o['_id'] ||= ObjectID.new }
# TODO synchronize
objects.each { |o| send_to_db(InsertMessage.new(@name, collection, o)) }
end