Browse files

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
  • Loading branch information...
1 parent 99b607d commit a8bb66ace849ecd2516a4ff3488eb339093b8774 @jeremy jeremy committed Nov 2, 2006
Showing with 3 additions and 0 deletions.
  1. +2 −0 actionpack/CHANGELOG
  2. +1 −0 actionpack/lib/action_controller/caching.rb
View
2 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]
View
1 actionpack/lib/action_controller/caching.rb
@@ -389,6 +389,7 @@ def expire_fragment(name, options = nil)
def expire_matched_fragments(matcher = /.*/, options = nil) #:nodoc:
expire_fragment(matcher, options)
end
+ deprecate :expire_matched_fragments => :expire_fragment
class UnthreadedMemoryStore #:nodoc:

0 comments on commit a8bb66a

Please sign in to comment.