Closed mrchucho closed 8 years ago
If nothing else is specified, the last loaded driver will be used. So if you explicitely load redis/connection/hiredis
, hiredis will be used.
IMO you should just make it explicit in the code and use :driver => :hiredis
, so everyone sees it right away when reading the code, instead of relying on Gemfile magic.
Thanks for the quick response!
To use hiredis-rb with redis-rb, do I need to specify the driver when creating a connection?
Or is it sufficient to follow the instructions and just do the following?
and
Or do I need to do both?