File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
activesupport/lib/active_support Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -658,6 +658,8 @@ def fetch_multi(*names)
658
658
# version, the read will be treated as a cache miss. This feature is
659
659
# used to support recyclable cache keys.
660
660
#
661
+ # * +:unless_exist+ - Prevents overwriting an existing cache entry.
662
+ #
661
663
# Other options will be handled by the specific cache store implementation.
662
664
def write ( name , value , options = nil )
663
665
options = merged_options ( options )
Original file line number Diff line number Diff line change @@ -110,9 +110,6 @@ def inspect
110
110
# * <tt>raw: true</tt> - Sends the value directly to the server as raw
111
111
# bytes. The value must be a string or number. You can use memcached
112
112
# direct operations like +increment+ and +decrement+ only on raw values.
113
- #
114
- # * <tt>unless_exist: true</tt> - Prevents overwriting an existing cache
115
- # entry.
116
113
117
114
# Increment a cached integer value using the memcached incr atomic operator.
118
115
# Returns the updated value.
You can’t perform that action at this time.
0 commit comments