migrating to mongoid