mongoid/mongoid — Issue #1486: IdentityMap caches documents with excluded fields
Author: canavese
Created: 2011-12-08 18:16:26+00:00
State: open

With the IdentityMap enabled, if I query using only() to exclude some fields, the documents are stored in the IdentityMap. Then if I query by id for one of the same documents within the same scope, I get the document with the fields still excluded.