mongoid-history icon indicating copy to clipboard operation
mongoid-history copied to clipboard

How can we track changes done with set method?

Open shanta31 opened this issue 3 years ago • 1 comments

I am using set method at multiple places for updating fields. This doesnot track updates when made using 'set' method. How can I achieve this ?

shanta31 avatar Sep 22 '20 14:09 shanta31

You can't today since it's one that doesn't invoke callbacks and is atomic.

dblock avatar Sep 22 '20 16:09 dblock