Ruby the index