diff --git a/lib/rack/attack/cache.rb b/lib/rack/attack/cache.rb index cb3a0db8..bcf7bf97 100644 --- a/lib/rack/attack/cache.rb +++ b/lib/rack/attack/cache.rb @@ -9,8 +9,6 @@ class Cache def self.default_store if Object.const_defined?(:Rails) && Rails.singleton_class.method_defined?(:cache) ::Rails.cache - else - ActiveSupport::Cache::MemoryStore.new end end