Skip to content

Commit a869080

Browse files
authored
Merge pull request rails#47225 from runephilosof-karnovgroup/patch-1
Document `namespace` option for read method
2 parents f838a74 + df73d5c commit a869080

File tree

1 file changed

+1
-0
lines changed
  • activesupport/lib/active_support

1 file changed

+1
-0
lines changed

activesupport/lib/active_support/cache.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ def fetch(name, options = nil, &block)
394394
#
395395
# ==== Options
396396
#
397+
# * +:namespace+ - Replace the store namespace for this call.
397398
# * +:version+ - Specifies a version for the cache entry. If the cached
398399
# version does not match the requested version, the read will be treated
399400
# as a cache miss. This feature is used to support recyclable cache keys.

0 commit comments

Comments
 (0)