Renamed demo to simple

This commit is contained in:
Adrian Madrid 2008-12-04 17:07:49 -07:00
parent 9b5be391ef
commit a91e271323
1 changed files with 1 additions and 2 deletions

View File

@ -7,8 +7,7 @@ host = ARGV[0] || 'localhost'
port = ARGV[1] || XGen::Mongo::Driver::Mongo::DEFAULT_PORT port = ARGV[1] || 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-simple')
db = Mongo.new(host, port).db('ruby-mongo-demo')
coll = db.collection('test') coll = db.collection('test')
coll.clear coll.clear