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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • 5.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
              Reporter:
              hashrocketeer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: