aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2014-12-24 15:05:18 -0500
committerZachary Scott <e@zzak.io>2014-12-24 15:05:18 -0500
commite9fd0e9d769ba2271e44f597edc70e5e47b45b9b (patch)
tree61667f9377dd4aee528e78409a387386f4732d27
parentef7e440c975ad4942e8c716c98981a2a595a7776 (diff)
parent6968ef44e22d4b69a8a8e8bed42fea14c9ccc762 (diff)
downloadrails-e9fd0e9d769ba2271e44f597edc70e5e47b45b9b.tar.gz
rails-e9fd0e9d769ba2271e44f597edc70e5e47b45b9b.tar.bz2
rails-e9fd0e9d769ba2271e44f597edc70e5e47b45b9b.zip
Merge pull request #18190 from ef718/master
Fix grammar in Caching with Rails docs
-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 cf6b5d08e6..61b991df61 100644
--- a/guides/source/caching_with_rails.md
+++ b/guides/source/caching_with_rails.md
@@ -107,7 +107,7 @@ This method generates a cache key that depends on all products and can be used i
<% end %>
```
-If you want to cache a fragment under certain condition you can use `cache_if` or `cache_unless`
+If you want to cache a fragment under certain conditions, you can use `cache_if` or `cache_unless`
```erb
<% cache_if (condition, cache_key_for_products) do %>