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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Unknown Unknown
    • 7.2.6, 7.3.3
    • None
    • None
    • None
    • Fully Compatible

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: