lib/active_support/cache.rb in activesupport-8.0.0.rc2 vs lib/active_support/cache.rb in activesupport-8.0.0

- old
+ new

@@ -284,11 +284,11 @@ # example, if you are using ActiveSupport::Cache::MemoryStore and can # guarantee that cache values will not be mutated, you can specify # <tt>coder: nil</tt> to avoid the overhead of safeguarding against # mutation. # - # The +:coder+ option is mutally exclusive with the +:serializer+ and + # The +:coder+ option is mutually exclusive with the +:serializer+ and # +:compressor+ options. Specifying them together will raise an # +ArgumentError+. # # Any other specified options are treated as default options for the # relevant cache operations, such as #read, #write, and #fetch. @@ -417,10 +417,10 @@ # end # # t1.join # # p val_1 # => "new value 1" - # p val_2 # => "oritinal value" + # p val_2 # => "original value" # p cache.fetch("foo") # => "new value 1" # # # The entry requires 3 seconds to expire (expires_in + race_condition_ttl) # # We have waited 2 seconds already (sleep(1) + t1.join) thus we need to wait 1 # # more second to see the entry expire.