Module: Mongoid::QueryCache::Document

Defined in:
build/mongoid-master/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 'build/mongoid-master/lib/mongoid/query_cache.rb', line 305

def reload
  QueryCache.uncached { super }
end