Listing states

<% for state in @states %> <% end %>
<%= state.name %> <%= link_to 'Show', state %> <%= link_to 'Edit', edit_state_path(state) %> <%= link_to 'Destroy', state, :confirm => 'Are you sure?', :method => :delete %>

<%= link_to 'New state', new_state_path %>