Is there a built-in method for writing record numbers so that I do not have to create a variable and increase it? Just developing practices at this point. file.recnumber?
<% i = 1%>
<% @files.each do |file| %>
<%= i %>. <%= file %> (<%= file.size %>)k<br />
<% i = i + 1%>
<% end %>