rack-attack/lib
Gonzalo Rodriguez 935f99a638
[Fixes #355] Avoid unexpected 'Gem::LoadError' for redis when not intented to be used
It seems that the original implementation accidentally autoloaded ActiveSupport::Cache::RedisCacheStore
which once evaluated asks for redis v4 generating Gem::LoadError.

In order to bypass any unnecessary constant autoloading we can just check class name string.
2018-09-30 22:13:30 -03:00
..
rack [Fixes #355] Avoid unexpected 'Gem::LoadError' for redis when not intented to be used 2018-09-30 22:13:30 -03:00