a8af89fcb94dfd8ef2a01bb5030f2bffe76852cf
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
)