diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-02-01 22:25:52 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-02-01 22:25:52 +0530 |
commit | d2c64009482d38d4894dd09d2d1e2fb4a165ecac (patch) | |
tree | 42a4fa8d1b49d596c53b94ca21646f05418d3c67 /actionpack/lib/action_controller | |
parent | de0043d794e8ba05a15d28db76e7deaf847183a2 (diff) | |
parent | e1dbcdcacf62d13914c9e7ec71f0f7319ad32b4a (diff) | |
download | rails-d2c64009482d38d4894dd09d2d1e2fb4a165ecac.tar.gz rails-d2c64009482d38d4894dd09d2d1e2fb4a165ecac.tar.bz2 rails-d2c64009482d38d4894dd09d2d1e2fb4a165ecac.zip |
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/caching/actions.rb | 3 |
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: # |