aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorJoseph Page <josephpage@users.noreply.github.com>2018-02-12 15:39:00 +0100
committerJeremy Daer <jeremydaer@gmail.com>2018-02-12 12:49:16 -0800
commitc01c38efbda53b66a4a7d677af523ac8ac493321 (patch)
treefe32727821878009e957c91865efcb458ce6e918 /activesupport
parent2e84839a098f31ab379faee833ad26b73cde7d9f (diff)
downloadrails-c01c38efbda53b66a4a7d677af523ac8ac493321.tar.gz
rails-c01c38efbda53b66a4a7d677af523ac8ac493321.tar.bz2
rails-c01c38efbda53b66a4a7d677af523ac8ac493321.zip
Doc: fixes typo `cache:` -> `compress:`
[ci skip] Closes #31967
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/cache/redis_cache_store.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/cache/redis_cache_store.rb b/activesupport/lib/active_support/cache/redis_cache_store.rb
index af14c28408..4df0509665 100644
--- a/activesupport/lib/active_support/cache/redis_cache_store.rb
+++ b/activesupport/lib/active_support/cache/redis_cache_store.rb
@@ -150,7 +150,7 @@ module ActiveSupport
#
# Compression is enabled by default with a 1kB threshold, so cached
# values larger than 1kB are automatically compressed. Disable by
- # passing <tt>cache: false</tt> or change the threshold by passing
+ # passing <tt>compress: false</tt> or change the threshold by passing
# <tt>compress_threshold: 4.kilobytes</tt>.
#
# No expiry is set on cache entries by default. Redis is expected to