Permalink
Browse files

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

…l cache stores.
  • Loading branch information...
413pro committed Jan 26, 2012
1 parent d222211 commit 69aeecd358c285ef3c7b4431baf65be94c5c17c2
Showing with 2 additions and 1 deletion.
  1. +2 −1 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:
#

0 comments on commit 69aeecd

Please sign in to comment.