Rob Nichols wrote: > Marnen Laibow-Koser wrote: >> Whatever the <form> tag's action is. > > Also, if no action is specified via the form tag, the form is submitted > to the current url. > > So if 'thing/edit/1' contained: > > <form> > <input type="submit" /> > </form> > > The form would be submitted back to 'thing/edit/1'
No. <form> without an action is invalid HTML, so its behavior is undefined. An action must always be specified. Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] Sent from my iPhone -- 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.

