lib/low/mongo.rb in low-0.0.15 vs lib/low/mongo.rb in low-0.0.16

- old
+ new

@@ -19,10 +19,10 @@ @grid ||= ::Mongo::Grid.new(db) end # The environment's Mongo::Connection instance. def connection - @connection ||= ::Mongo::Connection.new(host) + @connection ||= ::Mongo::MongoClient.new(host) end # The host that `#connection` will use - either this or # `#connection` should be overriden. def host