-
Type: Bug
-
Resolution: Done
-
Priority: Critical - P2
-
Affects Version/s: origin-2.2.1
-
Component/s: None
-
None
We had this code:
User.where(:token.ne => '').where(:token.ne => nil)
it was working fine with 2.2.0, but once we upgraded to 2.2.1 which was released yesterday, this code fails with:
NoMethodError: undefined method `|' for "":String
Is this a bug? or incorrect code usage? or?
- duplicates
-
MONGOID-4357 Criteria merging broken in latest patches
- Closed