Review enumerable === implementation

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.4.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None

      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 ==.

              Assignee:
              Oleg Pudeyev (Inactive)
              Reporter:
              Neil Shweky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: