Listing weights

<% @weights.each do |weight| %> <% end %>
Max
<%= weight.max %> <%= link_to 'Show', weight %> <%= link_to 'Edit', edit_weight_path(weight) %> <%= link_to 'Destroy', weight, method: :delete, data: { confirm: 'Are you sure?' } %>

<%= link_to 'New Weight', new_weight_path %>