3 # Enable the query cache within the block if Active Record is configured.
5 if ActiveRecord
::Base.configurations
.blank
?
8 connection
.cache(&block
)
12 # Disable the query cache within the block if Active Record is configured.
14 if ActiveRecord
::Base.configurations
.blank
?
17 connection
.uncached(&block
)