class method
self.build_redis_client
Ruby on Rails 5.2.8.1
Since v5.2.8.1 PrivateSignature
self.build_redis_client(url:, **redis_options)
No documentation comment.
Parameters
-
urlkeyreq -
redis_optionskeyrest
Source
# File activesupport/lib/active_support/cache/redis_cache_store.rb, line 133
def build_redis_client(url:, **redis_options)
::Redis.new DEFAULT_REDIS_OPTIONS.merge(redis_options.merge(url: url))
end
Defined in activesupport/lib/active_support/cache/redis_cache_store.rb line 133
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::RedisCacheStore