Ruby record query interface for redis