Companies
index
code
name
<% data.each_with_index do |h, i| %> <% n = i + 1 %>
<%= n %>
<%= h[:code] %>
<%= h[:name] %>
<% end %>