【发布时间】:2013-09-11 07:12:35
【问题描述】:
我正在使用 Mongodb 开发 ROR 应用程序。我正在 heroku 上部署应用程序,我使用的映射器是 mongoid。
这是我的 confiq.yml
production:
# Configure available database sessions. (required)
sessions:
# Defines the default session. (required)
default:
# Defines the name of the default database that Mongoid can connect to.
# (required).
database: app17040252
username: heroku
password: XYZ
# Provides the hosts the default session can connect to. Must be an array
# of host:port pairs. (required)
hosts:
- dharma.mongohq.com:10069
我没有什么疑问
1)我想在密码字段中知道-实际密码将出现还是显示mongohq提供的密码?
2) 我是否在 confiq.yml 中遗漏了任何内容>
3) ruby 2.0.0 可以正常使用 mongoid 吗?
【问题讨论】:
标签: ruby-on-rails ruby-on-rails-3 mongodb heroku mongoid