mongoid config modify

This commit is contained in:
yafei Lee 2012-06-25 01:10:26 +08:00
parent 5cc439aec1
commit 50324413c1
1 changed files with 2 additions and 5 deletions

View File

@ -8,11 +8,8 @@ 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'] %>
host: localhost
database: w_blog
# slaves:
# - host: slave1.local
# port: 27018