It seems touch is gone as a method on Mongoid::Document. The following test:
class MongoidTouchTest include Mongoid::Document end describe MongoidTouchTest do subject { MongoidTouchTest.new } it { subject.must_respond_to(:touch) } end
Results in:
MongoidTouchTest test_0001_ FAIL (0.05s) Minitest::Assertion: Expected #<MongoidTouchTest _id: 5af2c487a54d75226b04c1c1, > (MongoidTouchTest) to respond to #touch. Finished in 0.05541s 1 tests, 1 assertions, 1 failures, 0 errors, 0 skips
Is touch no longer supported?
- is depended on by
-
MONGOID-4600 Release Mongoid 7.0.2
- Closed