Commits

Koen Van der Auwera committed d17bdca

use connect instead of new

  • Participants
  • Parent commits 0247972

Comments (0)

Files changed (1)

     end
 
     def redis
-      @redis ||= ::Redis.new(host: ENV["OPENREDIS_URL"])
+      @redis ||= Redis.connect(:url => ENV["OPENREDIS_URL"])
     end
 
     def keys(pattern="*")