Method: Mongoid::Threaded#identity_map
- Defined in:
- lib/mongoid/threaded.rb
#identity_map ⇒ IdentityMap
Get the identity map off the current thread.
176 177 178 |
# File 'lib/mongoid/threaded.rb', line 176 def identity_map Thread.current["[mongoid]:identity-map"] ||= IdentityMap.new end |