mongoid 4.0.0.rc1 depends on rails ~> 4.0.0
Generate a config file for MongoDB

Rails <= 4.0.0 seems not to have `Rails.application.configure`
Merge pull request #1 from pepabo/user-with-mongodb

Scaffolding User model with MongoDB