From 69aeecd358c285ef3c7b4431baf65be94c5c17c2 Mon Sep 17 00:00:00 2001 From: dev Date: Thu, 26 Jan 2012 18:16:10 -0500 Subject: Updates documentaton to indicate that :expires_in can be used with all cache stores. --- actionpack/lib/action_controller/caching/actions.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'actionpack/lib/action_controller') 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 :if (or :unless) to pass a # proc that specifies when the action should be cached. # - # Finally, if you are using memcached, you can also pass :expires_in. + # As of Rails 3.0, you can also pass :expires_in with a time + # interval (in seconds) to schedule expiration of the cached item. # # The following example depicts some of the points made above: # -- cgit v1.2.3