lib/redis/namespace.rb in redis-namespace-1.0.1 vs lib/redis/namespace.rb in redis-namespace-1.0.2
- old
+ new
@@ -176,12 +176,12 @@
def method_missing(command, *args, &block)
handling = COMMANDS[command.to_s] ||
COMMANDS[ALIASES[command.to_s]]
+ # redis-namespace does not know how to handle this command.
+ # Passing it to @redis as is.
if handling.nil?
- warn("redis-namespace does not know how to handle '#{command}' command.
- Passing it to redis as is.")
return @redis.send(command, *args, &block)
end
(before, after) = handling