Editing state

<%= error_messages_for :state %> <% form_for @state, :url => state_path(@state) do |f| %>

<%= f.submit "Update" %>

<% end %> <%= link_to 'Show', state_path(@state) %> | <%= link_to 'Back', states_path %>