Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updates documentaton to indicate that :expires_in can be used with al…

…l cache stores.
  • Loading branch information...
commit 69aeecd358c285ef3c7b4431baf65be94c5c17c2 1 parent d222211
@413pro 413pro authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  actionpack/lib/action_controller/caching/actions.rb
View
3  actionpack/lib/action_controller/caching/actions.rb
@@ -47,7 +47,8 @@ module Caching
# 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:
#
Please sign in to comment.
Something went wrong with that request. Please try again.