Okay, I see now. There's a hidden input "_method" with value "put"
output automatically with my form. I needed to change my route to use
"put" instead of "post" to match what's happening behind the scenes.

My functional test was working with post so I couldn't see anything
wrong there, and it's odd because checking everything at the endpoints
showed a failed post request and not a (silent) put request. I had
thought about using put and this is probably more technically correct
because I'm modifying an existing object.

On Mar 2, 3:08 pm, djangst <[email protected]> wrote:
> I'm getting a RoutingError for a member route I can't figure out. I'm
> posting a simple form that has a submit button as a confirmation step.

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