mapuj każdy z indeksem
[:a, :b, :c].each_with_index.map do |item, index|
# DO THINGS
end
gritter97
[:a, :b, :c].each_with_index.map do |item, index|
# DO THINGS
end