lib/helpers/mongodb.rb in gaptool-server-0.2.4 vs lib/helpers/mongodb.rb in gaptool-server-0.3.0
- old
+ new
@@ -1,6 +1,5 @@
# encoding: utf-8
-require 'bson_ext'
require 'mongo'
module MongodbHelpers
def collectioncount(dbcollections)
@remote_mongodb = Mongo::MongoClient.new(
'localhost' || $redis.hget('config', 'remotemongo:host'),