Document#touch is broken in v8.1.6 and v8.1.7 #5913
priceline-rosenfeld
started this conversation in
General
Replies: 1 comment 3 replies
-
Thanks for bringing this to our attention. I've created a ticket (here: https://jira.mongodb.org/browse/MONGOID-5833) where we will track this. 👍 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A backported change broke the
touch
method.field
is no longernil
, but an empty string in some cases, which means the line below should be fixed:https://github.com/mongodb/mongoid/blob/8.1-stable/lib/mongoid/touchable.rb#L42
Beta Was this translation helpful? Give feedback.
All reactions