Changes mongo_mapper to mongoid