Fixing up mongoid config