Removed Signup and added production database

This commit is contained in:
saurabhbhatia 2013-12-27 11:12:35 +08:00
parent e83f84b029
commit ba465ae4d0
2 changed files with 13 additions and 1 deletions

View File

@ -2,7 +2,7 @@ class User
include Mongoid::Document
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable and :omniauthable
devise :database_authenticatable, :registerable,
devise :database_authenticatable,
:recoverable, :rememberable, :trackable, :validatable
## Database authenticatable

View File

@ -70,3 +70,15 @@ test:
# low amounts for fast failures.
max_retries: 1
retry_interval: 0
production:
sessions:
default:
database: mtstore
hosts:
- localhost:27017
options:
read: primary
# In the test environment we lower the retries and retry interval to
# low amounts for fast failures.
max_retries: 1
retry_interval: 0