removed debug code
This commit is contained in:
parent
65282a2f7e
commit
07d2def0ad
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue