Method: Mongoid::Threaded#modified_documents
- Defined in:
- lib/mongoid/threaded.rb
#modified_documents ⇒ Hash<Mongo::Session, Set<Mongoid::Document>>
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns the thread store of modified documents.
499 500 501 |
# File 'lib/mongoid/threaded.rb', line 499 def modified_documents get(MODIFIED_DOCUMENTS_KEY) { Hash.new { |h, k| h[k] = Set.new } } end |