migrating to mongodb and mongoid