removed debug code

This commit is contained in:
Jim Menard 2009-02-10 11:22:48 -05:00
parent 65282a2f7e
commit 07d2def0ad
1 changed files with 1 additions and 2 deletions

View File

@ -8,8 +8,7 @@ host = ENV['MONGO_RUBY_DRIVER_HOST'] || 'localhost'
port = ENV['MONGO_RUBY_DRIVER_PORT'] || XGen::Mongo::Driver::Mongo::DEFAULT_PORT port = ENV['MONGO_RUBY_DRIVER_PORT'] || XGen::Mongo::Driver::Mongo::DEFAULT_PORT
puts "Connecting to #{host}:#{port}" puts "Connecting to #{host}:#{port}"
# db = Mongo.new(host, port).db('ruby-mongo-examples') db = Mongo.new(host, port).db('ruby-mongo-examples')
db = Mongo.new('192.168.19.123', port).db('ruby-mongo-examples')
coll = db.create_collection('test') coll = db.create_collection('test')
# Erase all records from collection, if any # Erase all records from collection, if any