Mongoid 3 like config fix