Fixing mongoid config