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

Model#reload does not clear IdentityMap

    • Type: Icon: Task Task
    • Resolution: Done
    • 12_01_17
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      I noticed that Model#reload doesn't invalidate IdentityMap. I verified that, after I did Mongoid::IdentityMap.clear, both a new find call and reload were able to get the fresh version of the data. Can you please fix that?

            Assignee:
            Unassigned Unassigned
            Reporter:
            emirkin Eugene Mirkin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: