Permalink
Browse files

Update readme and query for new mongo client.

  • Loading branch information...
1 parent dfef662 commit f9cb74162b7d177778b3aa5efeb5d61b03c916a5 @jnunemaker jnunemaker committed Dec 28, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 README.md
  2. +1 −1 examples/query.rb
@@ -11,7 +11,7 @@ gem install plucky
## Examples
```ruby
-connection = Mongo::Connection.new
+connection = Mongo::MongoClient.new
db = connection.db('test')
collection = db['users']
collection.remove # clear out the collection
View
@@ -7,7 +7,7 @@
$:.unshift(lib_path)
require 'plucky'
-connection = Mongo::Connection.new
+connection = Mongo::MongoClient.new
db = connection.db('test')
collection = db['users']
collection.remove # clear out the collection

0 comments on commit f9cb741

Please sign in to comment.