Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "mongodb_cr" is invalid, please use mongodb_cr, mongodb_x509, gssapi or plain.
- development:
- clients:
- default:
- database: urijijami
- hosts:
- - <%= ENV['MONGO_HOST'] || 'localhost' %>
- options:
- user: <%= ENV['MONGO_USER'] %>
- password: <%= ENV['MONGO_PASS'] %>
- # Change the default authentication mechanism. Valid options are: :scram,
- # :mongodb_cr, :mongodb_x509, and :plain. Note that all authentication
- # mechanisms require username and password, with the exception of :mongodb_x509.
- # Default on mongoDB 3.0 is :scram, default on 2.4 and 2.6 is :plain.
- auth_mech: mongodb_cr
- # Configure Mongoid specific options. (optional)
- options:
- raise_not_found_error: false
- auth_mech: :mongodb_cr
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement