Rename each_with_index to each_row_with_index
Remove with_index from each_row_with_index