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

without_default_scope suppresses default scopes of other models

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0.rc0, 7.0.3, 6.4.4
    • Affects Version/s: None
    • Component/s: Query
    • None

      It was reported that without_default_scope suppresses default scope on models other than the one it was called on.

      Report with patch: https://github.com/mongodb/mongoid/pull/4500

            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: