aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/caching/fragments.rb
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2008-10-21 14:29:41 +0100
committerPratik Naik <pratiknaik@gmail.com>2008-10-21 14:29:41 +0100
commitfa09de351c8045c7e7a0f268188ccf80c827b079 (patch)
tree529922eaddfb5575d026f214bb84b9cd5a022d23 /actionpack/lib/action_controller/caching/fragments.rb
parentd2f3bddaebc0d52fd4df1392c87c84333612c531 (diff)
parenta5cdb7a813515fa0cbee23101d2f911b4017ed90 (diff)
downloadrails-fa09de351c8045c7e7a0f268188ccf80c827b079.tar.gz
rails-fa09de351c8045c7e7a0f268188ccf80c827b079.tar.bz2
rails-fa09de351c8045c7e7a0f268188ccf80c827b079.zip
Merge commit 'mainstream/master'
Diffstat (limited to 'actionpack/lib/action_controller/caching/fragments.rb')
-rw-r--r--actionpack/lib/action_controller/caching/fragments.rb26
1 files changed, 0 insertions, 26 deletions
diff --git a/actionpack/lib/action_controller/caching/fragments.rb b/actionpack/lib/action_controller/caching/fragments.rb
index e9b434dd25..31cbe27452 100644
--- a/actionpack/lib/action_controller/caching/fragments.rb
+++ b/actionpack/lib/action_controller/caching/fragments.rb
@@ -26,32 +26,6 @@ module ActionController #:nodoc:
#
# expire_fragment(:controller => "topics", :action => "list", :action_suffix => "all_topics")
module Fragments
- def self.included(base) #:nodoc:
- base.class_eval do
- class << self
- def fragment_cache_store=(store_option) #:nodoc:
- ActiveSupport::Deprecation.warn('The fragment_cache_store= method is now use cache_store=')
- self.cache_store = store_option
- end
-
- def fragment_cache_store #:nodoc:
- ActiveSupport::Deprecation.warn('The fragment_cache_store method is now use cache_store')
- cache_store
- end
- end
-
- def fragment_cache_store=(store_option) #:nodoc:
- ActiveSupport::Deprecation.warn('The fragment_cache_store= method is now use cache_store=')
- self.cache_store = store_option
- end
-
- def fragment_cache_store #:nodoc:
- ActiveSupport::Deprecation.warn('The fragment_cache_store method is now use cache_store')
- cache_store
- end
- end
- end
-
# Given a key (as described in <tt>expire_fragment</tt>), returns a key suitable for use in reading,
# writing, or expiring a cached fragment. If the key is a hash, the generated key is the return
# value of url_for on that hash (without the protocol). All keys are prefixed with "views/" and uses