From 2db79dc9ea0b623c6d76b72e85f58efd63b50e08 Mon Sep 17 00:00:00 2001 From: Vijay Dev Date: Sun, 9 Sep 2012 17:25:09 +0530 Subject: minor fixes and edits [ci skip] --- guides/source/caching_with_rails.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source/caching_with_rails.textile') diff --git a/guides/source/caching_with_rails.textile b/guides/source/caching_with_rails.textile index 577596ac0d..712440da32 100644 --- a/guides/source/caching_with_rails.textile +++ b/guides/source/caching_with_rails.textile @@ -455,7 +455,7 @@ class ProductsController < ApplicationController end -Instead of a options hash, you can also simply pass in a model, Rails will use the methods +updated_at+ and +cache_key+ for setting +last_modified+ and +etag+: +Instead of a options hash, you can also simply pass in a model, Rails will use the +updated_at+ and +cache_key+ methods for setting +last_modified+ and +etag+: class ProductsController < ApplicationController -- cgit v1.2.3