1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Don't use ActiveSupport

This commit is contained in:
Mike Perham 2015-11-13 09:14:00 -08:00
parent 31ffe63659
commit 04607f8e15

View file

@ -248,7 +248,7 @@ module Sidekiq
def redis_connection_and_namespace
@redis_connection_and_namespace ||= begin
namespace_suffix = namespace.blank? ? '' : "##{namespace}"
namespace_suffix = namespace == nil ? '' : "##{namespace}"
"#{redis_connection}#{namespace_suffix}"
end
end