Module: Mongoid::QueryCache::Document

Defined in:
lib/mongoid/query_cache.rb

Overview

Bypass the query cache when reloading a document.

Instance Method Summary collapse

Instance Method Details

#reloadObject



305
306
307
# File 'lib/mongoid/query_cache.rb', line 305

def reload
  QueryCache.uncached { super }
end