use mongoid 2.x syntax for config