aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/caching_with_rails.md
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2016-03-22 20:03:27 +0530
committerVipul A M <vipulnsward@gmail.com>2016-03-22 20:03:27 +0530
commit60257141462137331387d0e34931555cf0720886 (patch)
tree4ad60b6ce865d8cf41cd08981325f1c1cd55e694 /guides/source/caching_with_rails.md
parent82e540b5ef6493b7dac1ae4fb98e5ca30edebbc0 (diff)
downloadrails-60257141462137331387d0e34931555cf0720886.tar.gz
rails-60257141462137331387d0e34931555cf0720886.tar.bz2
rails-60257141462137331387d0e34931555cf0720886.zip
s/responsibilty/responsibility/
s/symantically/semantically/ [ci skip]
Diffstat (limited to 'guides/source/caching_with_rails.md')
-rw-r--r--guides/source/caching_with_rails.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/caching_with_rails.md b/guides/source/caching_with_rails.md
index ebd67a4adb..ec4444eb43 100644
--- a/guides/source/caching_with_rails.md
+++ b/guides/source/caching_with_rails.md
@@ -514,7 +514,7 @@ end
### A note on weak ETags
-Etags generated by Rails are weak by default. Weak etags allow symantically equivalent responses to have the same etags, even if their bodies do not match exactly. This is useful when we don't want the page to be regenerated for minor changes in response body. If you absolutely need to generate a strong etag, it can be assigned to the header directly.
+Etags generated by Rails are weak by default. Weak etags allow semantically equivalent responses to have the same etags, even if their bodies do not match exactly. This is useful when we don't want the page to be regenerated for minor changes in response body. If you absolutely need to generate a strong etag, it can be assigned to the header directly.
```ruby
response.add_header "ETag", Digest::MD5.hexdigest(response.body)