module ActiveRecord::QueryCache::ClassMethods
def cache(&block)
def cache(&block) if ActiveRecord::Base.configurations.blank? yield else connection.cache(&block) end end
def uncached(&block)
def uncached(&block) if ActiveRecord::Base.configurations.blank? yield else connection.uncached(&block) end end