configured mongoid and mogodb