config/initializers/redis.rb
# Yes, I know that monkey patching is bad, but redis is being bad too
Yes, I know that monkey patching is bad, but redis is being bad too
Yes I know that monkey patching is bad but redis is being bad too
def hgetall(key)
    synchronize do |client|
      client.call([:hgetall, key], &proc { |r| Hashify.call(r.to_a) })
    end
  end
def hgetall ( key ) synchronize do | client | client . call ( [ :hgetall , key ] , & proc { | r | Hashify . call ( r . to_a ) } ) end end
Yes, I know that monkey patching is bad, but redis is being bad too
Yes I know that monkey patching is bad but redis is being bad too
key
<not_specific>