double config removed for mongoid