configure mongoid