Removed Signup and added production database
This commit is contained in:
parent
e83f84b029
commit
ba465ae4d0
|
@ -2,7 +2,7 @@ class User
|
||||||
include Mongoid::Document
|
include Mongoid::Document
|
||||||
# Include default devise modules. Others available are:
|
# Include default devise modules. Others available are:
|
||||||
# :confirmable, :lockable, :timeoutable and :omniauthable
|
# :confirmable, :lockable, :timeoutable and :omniauthable
|
||||||
devise :database_authenticatable, :registerable,
|
devise :database_authenticatable,
|
||||||
:recoverable, :rememberable, :trackable, :validatable
|
:recoverable, :rememberable, :trackable, :validatable
|
||||||
|
|
||||||
## Database authenticatable
|
## Database authenticatable
|
||||||
|
|
|
@ -70,3 +70,15 @@ test:
|
||||||
# low amounts for fast failures.
|
# low amounts for fast failures.
|
||||||
max_retries: 1
|
max_retries: 1
|
||||||
retry_interval: 0
|
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
|
||||||
|
|
Loading…
Reference in New Issue