Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Core] Making mongoid configuration file Heroku compliant.
  • Loading branch information
Carlos León committed Sep 28, 2011
1 parent 960fe75 commit a30b215
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions config/mongoid.yml
Expand Up @@ -6,13 +6,8 @@ test:
host: localhost
database: devcolicious_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'] %>
uri: <%= ENV[ 'MONGOHQ_URL' ] %>
# slaves:
# - host: slave1.local
# port: 27018
Expand Down

0 comments on commit a30b215

Please sign in to comment.