I'm really baffled since this should be very textbook:

<% form_for :person, :url => { :controller => "people", :action =>
"update", :id => @person.id } do |form| %>

should produce

<form action="/people/3/update" ...>

but instead it produces

<form action="/people/3" ...>

What's going on?  I really thought I could just do

<% form_for :person, :url => { :action => "update", :id =>
@person.id } do |form| %>

but that produces the same result.

-- 
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.

Reply via email to