Mongoid and Rails 4.1.2 upgrade