yacc / stripemetrics.com

Collection of metrics for Stripe
0 stars 0 forks source link

Mongo connection for api app not working with Mongo 3.0 #25

Closed yacc closed 11 years ago

yacc commented 11 years ago
  connection = Mongo::Connection.new(:host, :port)
  Mongoid.database = connection.db(:appname)
  Mongoid.database.authenticate(:login,:password)