def save
      ensure_name_metadata_set

      redis.pipelined do
        redis.hmset("id:#{id}", *metadata.to_a.flatten)
        redis.set("name:#{name}", id)
      end
    end
def save
      ensure_name_metadata_set

      redis.pipelined do
        redis.hmset("id:#{id}", *metadata.to_a.flatten)
        redis.set("name:#{name}", id)
      end
    end
Generates a +Fixnum+ hash value for this user object. Implemented to support equality.
 @return [Fixnum] The hash value.
 @see Object#hash
 Saves the room record to Redis, overwriting any previous data for the current ID.
 @return [void]