Usually the 'edit' action is the one that creates the page with the form, and the form calls the 'update' action. Usually there is no update view, the update action will usually redirect to the show page for that object or the index page for all objects of that type, or will re-render the edit page if the object couldn't be saved (because it fails validations, most commonly).
So, your links should go to the 'edit' action, not to 'update'. The reason the form doesn't work is you're putting attributes in that it doesn't know about, like controller: form tags just take an 'action' attribute, which is the url to submit the form to. However, hard coding forms is bad. Use form_for to make your form, which should look like this: <%= form_for @your_object do |f|%> <% f.text_field :name %> ..etc <% end %> This will submit to the update action automatically -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

