pi3g.com
Instructions for adding a user to a mongo database for mongo_orm
You don’t want your web application to access the database using your database admin user. Additionally you want it to access only one specific database – maybe you have additional databases running in your mongo instance. Prerequisites:mongo_orm expects the database configuration as environment variables or as a file config/database.yml in your project.The config/database.yml file looks