1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/test/cache
George Claghorn 974ce9c333
Fix configuring a cache store with ActiveSupport::OrderedOptions
9845cd6 broke configuring a cache store like so:

    config.cache_store = :redis_cache_store, config_for("redis/cache")

Rails::Application#config_for returns an ActiveSupport::OrderedOptions. By default, the Array#extract_options! core extension won't extract instances of Hash subclasses. Add ActiveSupport::OrderedOptions#extractable_options? and have it return true to fix.
2019-11-08 17:32:55 -05:00
..
behaviors Duplicate the cached value before writing it in the local cache 2019-10-29 17:04:45 +01:00
stores Redis cache store: fail gracefully when max clients reached 2019-10-01 13:24:22 -04:00
behaviors.rb Add missing instrumentation to RedisCacheStore#read_multi 2018-02-05 11:57:14 -08:00
cache_entry_test.rb Fix CustomCops/AssertNot to allow it to have failure message 2018-05-13 11:32:47 +09:00
cache_key_test.rb Introduce keyword arguments for some AS::Cache methods 2019-09-03 17:48:40 +09:00
cache_store_logger_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
cache_store_namespace_test.rb Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
cache_store_setting_test.rb Fix configuring a cache store with ActiveSupport::OrderedOptions 2019-11-08 17:32:55 -05:00
local_cache_middleware_test.rb Change the empty block style to have space inside of the block 2018-09-25 13:19:35 -04:00