passing parameter in edirect_to in Rails

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

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

As far as I know, you can't

Fred