I have a @people instance variable that is the return from
Person.find(:all)
I then want to have a revise.html that allows me to fill out one
textfield with a number that I can then @people.update_all(:revision)
I try to do this:REVISION CHANGE
<% form_for @people do |f| %>
<%= f.error_messages %>
<%= f.label :version %>
<%= f.text_field :version %>
<%= f.submit "Update" %>
<% end %>and it blows up on me with:
undefined method
`person_person_person_person_person_person_person_person_path’ for
#ActionView::Base:0x101688c90
Extracted source (around line #3):
1: REVISION CHANGE
2:
3: <% form_for @people do |f| %>
4: <%= f.error_messages %>
5:
6: <%= f.label :version %>
Sorry Im confused by this helper and how it is trying to make the
form.