Re: [Rails] URL "id" not part of the params objects after post

2013-07-05 Thread Walter Lee Davis
On Jul 5, 2013, at 7:03 PM, Rodrigo Lueneberg wrote: > Sorry, I just come from .net and I am used to Request.Querystring[] > which is able to fetch any URL parameter on post. The Request object, in > this case, takes care storing the URL parameter values. One other idea > you just gave me is t

[Rails] URL "id" not part of the params objects after post

2013-07-05 Thread Rodrigo Lueneberg
Why is the URL "id" element not part of the params objects after submitting a form via form_tag? Steps: 1. Go to URL http://localhost:3000/users/delete?id=45 2. Press Submit button 3. Read id param in order to delete user, then redirect form Delete Confirmation <%= form_tag('/users/delete') do %