Editing person

<%= error_messages_for :person %> <%= form_for(:person, :url => object_url, :html => { :method => :put }) do |f| %>

Name
<%= f.text_field :name %>

<%= submit_tag "Update" %>

<% end %> <%= link_to 'Show', object_url %> | <%= link_to 'Back', collection_url %>