lib/redis_assist/base.rb
def write_hash(name, val)
      raise "RedisAssist: tried to store a #{val.class.name} as Hash" unless val.is_a?(Hash)
      hashes[name] = val
    end
def write_hash(name, val)
      raise "RedisAssist: tried to store a #{val.class.name} as Hash" unless val.is_a?(Hash)
      hashes[name] = val
    end
Transform and write a hash attribute