I need to iterate with an index! With index!
You need an index while iterating over your collection, right?
> a = ['apple', 'orange', 'banana'];
> a.map.with_index {|fruit, index| puts index}
0
1
2
with_index
is a method on Enumerator, and map returns an Enumerator.