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

--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to