diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-12-22 11:31:18 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-12-22 11:31:18 -0600 |
commit | aa002c0e86afdc83693f14667a710107843f0fbd (patch) | |
tree | 0ec063c6a18b2f9f523ada8a5d338b68dd562be2 /actionpack/lib/action_controller/caching | |
parent | 63aac338332a06d3c9e28dde7954679703ec7620 (diff) | |
download | rails-aa002c0e86afdc83693f14667a710107843f0fbd.tar.gz rails-aa002c0e86afdc83693f14667a710107843f0fbd.tar.bz2 rails-aa002c0e86afdc83693f14667a710107843f0fbd.zip |
ActiveRecord::QueryCache middleware
Diffstat (limited to 'actionpack/lib/action_controller/caching')
-rw-r--r-- | actionpack/lib/action_controller/caching/sql_cache.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/actionpack/lib/action_controller/caching/sql_cache.rb b/actionpack/lib/action_controller/caching/sql_cache.rb deleted file mode 100644 index 139be6100d..0000000000 --- a/actionpack/lib/action_controller/caching/sql_cache.rb +++ /dev/null @@ -1,18 +0,0 @@ -module ActionController #:nodoc: - module Caching - module SqlCache - def self.included(base) #:nodoc: - if defined?(ActiveRecord) && ActiveRecord::Base.respond_to?(:cache) - base.alias_method_chain :perform_action, :caching - end - end - - protected - def perform_action_with_caching - ActiveRecord::Base.cache do - perform_action_without_caching - end - end - end - end -end
\ No newline at end of file |