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

Fix discriminator_key when persisting to the database

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0.rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Minor Change

      The default filter for a `Mongoid::Collection::View` is _type => class.to_s.... This is causing errors when trying to persist a record with a default discriminator key to the database.

            Assignee:
            neil.shweky@mongodb.com Neil Shweky (Inactive)
            Reporter:
            neil.shweky@mongodb.com Neil Shweky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: