Commit dbeeea32a2673a2b938a65eb902119d877bfe552

Authored by Cyril Mougel
1 parent 3546dc4a
Exists in master and in 1 other branch production

the file to configure mongoid is mongoid.yml not database.yml [ci-skip]

Showing 2 changed files with 3 additions and 3 deletions   Show diff stats
README.md
... ... @@ -344,8 +344,8 @@ If we change the way that data is stored, this will run any migrations to bring
344 344  
345 345 ### Upgrade from errbit 0.2 to 0.3
346 346  
347   -The file of MongoDB connection config/database.yml change between 0.2 to
348   -0.3. So Check the new config/database.yml.example file and update it in
  347 +The file of MongoDB connection config/mongoid.yml change between 0.2 to
  348 +0.3. So Check the new config/mongoid.yml.example file and update it in
349 349 good way.
350 350  
351 351 This change is not need to be done if you use only ENV variable to
... ...
config/mongoid.mongolab.yml
... ... @@ -5,6 +5,6 @@
5 5 # commit it to your repo, then push to heroku.
6 6  
7 7 production:
8   - sesssions:
  8 + sessions:
9 9 default:
10 10 uri: <%= ENV['MONGOLAB_URI'] %>
... ...