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

Do not try to detect inverse if it is explicitly set to nil

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 7.2.6, 7.3.3
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible

      When inverse_of is explicitly set to nil, Mongoid appears to still try to detect the inverse, causing it to either fail completely if it can't figure out an unambiguous inverse or possibly using the wrong one.

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

              Created:
              Updated:
              Resolved: