aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/caching.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2006-09-01 23:37:10 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2006-09-01 23:37:10 +0000
commit7aa9eed88fdfb1a8010c4ca7468e9ebd527494f1 (patch)
treee736033782ccfe7fa1baade11be59d589cdb24fd /actionpack/lib/action_controller/caching.rb
parent667d8ea2ea6d3a24009c531fefd6b4a78572ded2 (diff)
downloadrails-7aa9eed88fdfb1a8010c4ca7468e9ebd527494f1.tar.gz
rails-7aa9eed88fdfb1a8010c4ca7468e9ebd527494f1.tar.bz2
rails-7aa9eed88fdfb1a8010c4ca7468e9ebd527494f1.zip
Deprecation: update docs. Closes #5998.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4898 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/caching.rb')
-rw-r--r--actionpack/lib/action_controller/caching.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/caching.rb b/actionpack/lib/action_controller/caching.rb
index 7eecb15e9b..cc3d9daaa3 100644
--- a/actionpack/lib/action_controller/caching.rb
+++ b/actionpack/lib/action_controller/caching.rb
@@ -266,7 +266,7 @@ module ActionController #:nodoc:
# <b>Hello <%= @name %></b>
# <% cache do %>
# All the topics in the system:
- # <%= render_collection_of_partials "topic", Topic.find_all %>
+ # <%= render :partial => "topic", :collection => Topic.find(:all) %>
# <% end %>
#
# This cache will bind to the name of action that called it. So you would be able to invalidate it using