rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org
2007-Jun-14 13:06 UTC
want to hide the id value while redirecting to the browser
hi, 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=>@acc.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, like <input type="submit" name="Submit" value="Next >>"> <input type="hidden" name="acc_id" value="<%=@acc.id %>"> but this is not working for me, so if anybody knows please help me. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---