aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorJonathan Baudanza <jon@jonb.org>2013-11-19 17:06:50 -0800
committerJonathan Baudanza <jon@jonb.org>2013-11-19 17:06:50 -0800
commit99eb1eb4dfcb3a270deb1f83d495749a90a1d08e (patch)
tree8166a82ce5eaedfb2caaac9e612958cf9c617875 /guides/source
parent4f28e54424ba34c749ac236e6c98bfb9a53c9b6c (diff)
downloadrails-99eb1eb4dfcb3a270deb1f83d495749a90a1d08e.tar.gz
rails-99eb1eb4dfcb3a270deb1f83d495749a90a1d08e.tar.bz2
rails-99eb1eb4dfcb3a270deb1f83d495749a90a1d08e.zip
Update caching guide with respect to :namespace
Cache::Store does not have a default value for :namespace. If it ever did, I can't find it in the git history.
Diffstat (limited to 'guides/source')
-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 b0ab88bf59..0d45e5fb28 100644
--- a/guides/source/caching_with_rails.md
+++ b/guides/source/caching_with_rails.md
@@ -189,7 +189,7 @@ The main methods to call are `read`, `write`, `delete`, `exist?`, and `fetch`. T
There are some common options used by all cache implementations. These can be passed to the constructor or the various methods to interact with entries.
-* `:namespace` - This option can be used to create a namespace within the cache store. It is especially useful if your application shares a cache with other applications. The default value will include the application name and Rails environment.
+* `:namespace` - This option can be used to create a namespace within the cache store. It is especially useful if your application shares a cache with other applications.
* `:compress` - This option can be used to indicate that compression should be used in the cache. This can be useful for transferring large cache entries over a slow network.