Hi all, I am a newbie trying to learn rails, How do we pass parameters in redirect_to in rails???? I know we can pass using this redirect_to :action => action_name,:id => 3, :abc => ''sdfdf'' but abc goes as parameter in the url....I want it to be sent as params hash where the parameter is not visible to the user Thanks in advance
On Sep 16, 2:03 am, sam <axv1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi all, > > I am a newbie trying to learn rails, > > How do we pass parameters in redirect_to in rails???? > > I know we can pass using this > > redirect_to :action => action_name,:id => 3, :abc => ''sdfdf'' > > but abc goes as parameter in the url....I want it to be sent as params > hash where the parameter is not visible to the userAs far as I know, you can''t Fred> > Thanks in advance