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

STI and default scope weirdness

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

      I've posted the same on the google's group but I definitely think it's an issue.

      I've seen this with Mongoid 2.4.4 and 2.4.8.

      I've put the details of my issue in the following gist:
      https://gist.github.com/2387723

      There are several points:

      • default scope exists in criteria but obviously not applied
      • another attempt retrieves a corrupted object

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

              Created:
              Updated:
              Resolved: