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

Unscoped should work when default scope is defined in a super class

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

      We have been migrating a project to mongoid 4 and we've found an issue.
      When a default scope is created in a super class, 'unscoped' does not work as expected on the subclasses.
      A spec showing the issue is on https://github.com/hashrocketeer/mongoid/commit/68c4fda0a5dcf890016f6ee68487ffef5485f578

            Assignee:
            Unassigned Unassigned
            Reporter:
            hashrocketeer hashrocketeer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: