Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated mongoid.yml for production

  • Loading branch information...
commit cb468703e374252e106e12ec3d0f884ba701b546 1 parent 548d190
@andyferra authored
Showing with 6 additions and 10 deletions.
  1. +6 −10 config/mongoid.yml
View
16 config/mongoid.yml
@@ -8,13 +8,9 @@ test:
# set these environment variables on your prod server
production:
- host: <%= ENV['MONGOID_HOST'] %>
- port: <%= ENV['MONGOID_PORT'] %>
- username: <%= ENV['MONGOID_USERNAME'] %>
- password: <%= ENV['MONGOID_PASSWORD'] %>
- database: <%= ENV['MONGOID_DATABASE'] %>
- # slaves:
- # - host: slave1.local
- # port: 27018
- # - host: slave2.local
- # port: 27019
+ uri: <%= ENV['MONGOHQ_URL'] %>
+ # host: <%= ENV['MONGOID_HOST'] %>
+ # port: <%= ENV['MONGOID_PORT'] %>
+ # username: <%= ENV['MONGOID_USERNAME'] %>
+ # password: <%= ENV['MONGOID_PASSWORD'] %>
+ # database: <%= ENV['MONGOID_DATABASE'] %>
Please sign in to comment.
Something went wrong with that request. Please try again.