-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
In MONGOID-5257 and MONGOID-5126 we review the implementations of === to make it more consistent with Ruby and ActiveRecord. This ticket is to review the === method on enumerables, and decide if it's implemented correctly or even necessary.
This might include getting rid of this method altogether and having === fall back on ==. At the very least, the method needs to be updated to not compare classes using ==.
- is related to
-
MONGOID-5257 Review instance === implementation
-
- Closed
-
-
MONGOID-5126 Bring Mongoid::Document's === implementation in alignment with Ruby behavior
-
- Closed
-
- links to