sorentwo / readthis

:newspaper: Pooled active support compliant caching with redis
MIT License
504 stars 40 forks source link

Fix a wrong argument in Readthis::Cache#read_multi #32

Closed kyohei-shimada closed 8 years ago

kyohei-shimada commented 8 years ago

This argument is wrong. Redis#mget expects variable-length arguments of string. There is no problem in the case of using Redis object. However, there are problems in the case of another object having interfaces same as Redis object (typically, a mock object as mock_redis).

sorentwo commented 8 years ago

Thanks for the fix!