So I have this loop: <% @images.each do |page| %> <% end %> How would I get the index of “page” inside of the loop? 3 Answers 3 Tags: rubyruby-on-rails