diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-09-09 17:25:09 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-09-09 17:25:44 +0530 |
commit | 2db79dc9ea0b623c6d76b72e85f58efd63b50e08 (patch) | |
tree | 2db0a614b9f03c7c95ec0495f20ac0e5e506d981 /guides/source/caching_with_rails.textile | |
parent | decf4a164d2b00f0be3fc8331df0f0cbe16e7e94 (diff) | |
download | rails-2db79dc9ea0b623c6d76b72e85f58efd63b50e08.tar.gz rails-2db79dc9ea0b623c6d76b72e85f58efd63b50e08.tar.bz2 rails-2db79dc9ea0b623c6d76b72e85f58efd63b50e08.zip |
minor fixes and edits [ci skip]
Diffstat (limited to 'guides/source/caching_with_rails.textile')
-rw-r--r-- | guides/source/caching_with_rails.textile | 2 |
1 files changed, 1 insertions, 1 deletions
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 </ruby> -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+: <ruby> class ProductsController < ApplicationController |