From dbeeea32a2673a2b938a65eb902119d877bfe552 Mon Sep 17 00:00:00 2001 From: Cyril Mougel Date: Tue, 1 Oct 2013 14:32:00 +0200 Subject: [PATCH] the file to configure mongoid is mongoid.yml not database.yml [ci-skip] --- README.md | 4 ++-- config/mongoid.mongolab.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 60b9689..62af0e7 100644 --- a/README.md +++ b/README.md @@ -344,8 +344,8 @@ If we change the way that data is stored, this will run any migrations to bring ### Upgrade from errbit 0.2 to 0.3 -The file of MongoDB connection config/database.yml change between 0.2 to -0.3. So Check the new config/database.yml.example file and update it in +The file of MongoDB connection config/mongoid.yml change between 0.2 to +0.3. So Check the new config/mongoid.yml.example file and update it in good way. This change is not need to be done if you use only ENV variable to diff --git a/config/mongoid.mongolab.yml b/config/mongoid.mongolab.yml index 3444804..e26b516 100644 --- a/config/mongoid.mongolab.yml +++ b/config/mongoid.mongolab.yml @@ -5,6 +5,6 @@ # commit it to your repo, then push to heroku. production: - sesssions: + sessions: default: uri: <%= ENV['MONGOLAB_URI'] %> -- libgit2 0.21.2