mongoid/mongoid — pull request #1963 by shingara (2012-04-30 13:55:29+00:00)
Title: Fix/raise error if no config

If you have no environnement define in your `mongoid.yml`. you get a : `undefined method `[]' for nil:NilClass`

With this commit, you can now be inform about this forgot.