You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the call redis.url is causing method missing error, probably it should be something like redis.client.options.url
# Run lua scripts and cache the sha in order to improve
# successive calls.
def script(file, *args)
cache = LUA_CACHE[redis.url]
if cache.key?(file)
sha = cache[file]
else
src = File.read(file)
sha = redis.call("SCRIPT", "LOAD", src)
cache[file] = sha
end
redis.call("EVALSHA", sha, *args)
end
However, the url doesn't have to be defined at all. What if the client is connected via an UNIX socket?
The text was updated successfully, but these errors were encountered:
When I try to save a model, I get this error:
The problem seems to be here
the call
redis.url
is causing method missing error, probably it should be something likeredis.client.options.url
However, the
url
doesn't have to be defined at all. What if the client is connected via an UNIX socket?The text was updated successfully, but these errors were encountered: