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

Extracted equality operations in a separated module

    • Type: Icon: Task Task
    • Resolution: Done
    • 3.1.0
    • Affects Version/s: None
    • Component/s: None
    • None

      Some gems like drapper will include them self on Mongoid::Document and try to override the == operator, because mongoid defined == in the base class this is not possible.

      I've extracted all methods related to equality to a Equality module that is included in Mongoid::Decoment via Mongoid::Components

            Assignee:
            durran Durran Jordan
            Reporter:
            balauru balauru
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: