aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2006-11-02 19:29:40 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2006-11-02 19:29:40 +0000
commita8bb66ace849ecd2516a4ff3488eb339093b8774 (patch)
tree329c6b4ac539dba687a163e3f6e12a90a5b74774 /actionpack
parent99b607d7171c246273abd7045428e37ba23ce350 (diff)
downloadrails-a8bb66ace849ecd2516a4ff3488eb339093b8774.tar.gz
rails-a8bb66ace849ecd2516a4ff3488eb339093b8774.tar.bz2
rails-a8bb66ace849ecd2516a4ff3488eb339093b8774.zip
Deprecate expire_matched_fragments. Use expire_fragment instead. Closes #6535.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5412 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/CHANGELOG2
-rw-r--r--actionpack/lib/action_controller/caching.rb1
2 files changed, 3 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG
index d2ad3ad159..a69ce44dc1 100644
--- a/actionpack/CHANGELOG
+++ b/actionpack/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Deprecate expire_matched_fragments. Use expire_fragment instead. #6535 [Bob Silva]
+
* Update to latest Prototype, which doesn't serialize disabled form elements, adds clone() to arrays, empty/non-string Element.update() and adds a fixes excessive error reporting in WebKit beta versions [Thomas Fuchs]
* Deprecate start_form_tag and end_form_tag. Use form_tag / '</form>' from now on. [Rick]
diff --git a/actionpack/lib/action_controller/caching.rb b/actionpack/lib/action_controller/caching.rb
index 177f72d136..bf1a94591e 100644
--- a/actionpack/lib/action_controller/caching.rb
+++ b/actionpack/lib/action_controller/caching.rb
@@ -389,6 +389,7 @@ module ActionController #:nodoc:
def expire_matched_fragments(matcher = /.*/, options = nil) #:nodoc:
expire_fragment(matcher, options)
end
+ deprecate :expire_matched_fragments => :expire_fragment
class UnthreadedMemoryStore #:nodoc: