-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No exists?
method
#172
Comments
Dupe of #171 |
#171 was merged. I'm going to release a new version soon |
I'm still seeing this deprecation warning when using |
Also still happening in 1.8.1. @rafaelfranca WDYT?
|
Redis 4.2 warns :
Redis#exists(key)
will return an Integer in redis-rb 4.3.exists?
returns a boolean, you should use it instead. To opt-in to the new behavior now you can set Redis.exists_returns_integer = true. To disable this message and keep the current (boolean) behaviour of 'exists' you can setRedis.exists_returns_integer = false
, but this option will be removed in 5.0But changing
exists
toexists?
shows redis-namespace errorThe text was updated successfully, but these errors were encountered: