Merge branch 'master' of git://github.com/jimm/mongo-ruby-driver

This commit is contained in:
Adrian Madrid 2008-12-08 12:00:35 -07:00
commit 9037d47226
1 changed files with 0 additions and 2 deletions

View File

@ -13,7 +13,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
require 'socket'
require 'mongo/objectid'
require 'mongo/collection'
require 'mongo/message'
require 'mongo/query'
@ -163,7 +162,6 @@ module XGen
end
def insert_into_db(collection_name, objects)
objects.each { |o| o['_id'] ||= ObjectID.new }
# TODO synchronize
objects.each { |o| send_to_db(InsertMessage.new(@name, collection_name, o)) }
end