Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-5258

Review enumerable === implementation

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.4.0
    • 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 ==.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            neil.shweky@mongodb.com Neil Shweky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: