Making machinist_mongo work with Rails 4 and Mongoid