mongoid/mongoid — pull request #3174 by dblock (2013-07-18 15:22:57+00:00)
Title: Enable identity map locally within a unit of work.

Enable the identity map locally for a unit of work. This lets you use `incudes` to do eager loading for a single query without enabling identity map globally.

Fixes https://github.com/mongoid/mongoid/issues/3172.