Forum: Ruby on Rails want to hide the id value while redirecting to the browser

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Guest (Guest)
on 2007-06-14 17:06

   while redirecting i want to hide the passing value in redirect_to. at
present i am doing like this,

redirect_to :controller=>'account',:action=>'account_step2',:id=>

   but this id should be hide, so is there any command to hide while
redirecting, if its please let me know.

    first i tried the hidden button after submitting the submit button,

<input type="submit" name="Submit" value="Next &gt;&gt;">
<input type="hidden" name="acc_id" value="< %>">

       but this is not working for me, so if anybody knows please help
This topic is locked and can not be replied to.