Changing MongoMapper to Mongoid