config of mongoid done