aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/caching/actions.rb
diff options
context:
space:
mode:
authordev <dev@kellymadisonmedia.com>2012-01-26 18:16:10 -0500
committerdev <dev@kellymadisonmedia.com>2012-01-26 18:16:10 -0500
commit69aeecd358c285ef3c7b4431baf65be94c5c17c2 (patch)
treee22c272901a13704a92e513b5cc8aa6559b31113 /actionpack/lib/action_controller/caching/actions.rb
parentd222211edfc0ce5b8c58ed946e7e169391dfeed2 (diff)
downloadrails-69aeecd358c285ef3c7b4431baf65be94c5c17c2.tar.gz
rails-69aeecd358c285ef3c7b4431baf65be94c5c17c2.tar.bz2
rails-69aeecd358c285ef3c7b4431baf65be94c5c17c2.zip
Updates documentaton to indicate that :expires_in can be used with all cache stores.
Diffstat (limited to 'actionpack/lib/action_controller/caching/actions.rb')
-rw-r--r--actionpack/lib/action_controller/caching/actions.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/caching/actions.rb b/actionpack/lib/action_controller/caching/actions.rb
index e76a79f710..bd3b0b5df3 100644
--- a/actionpack/lib/action_controller/caching/actions.rb
+++ b/actionpack/lib/action_controller/caching/actions.rb
@@ -47,7 +47,8 @@ module ActionController #:nodoc:
# And you can also use <tt>:if</tt> (or <tt>:unless</tt>) to pass a
# proc that specifies when the action should be cached.
#
- # Finally, if you are using memcached, you can also pass <tt>:expires_in</tt>.
+ # As of Rails 3.0, you can also pass <tt>:expires_in</tt> with a time
+ # interval (in seconds) to schedule expiration of the cached item.
#
# The following example depicts some of the points made above:
#