I come to one of those things that work with Rails when I feel that there should be a better way than what I am having.
I have four querystring parameters that I want to save through requests through different parts of the rails application - different controllers and actions, some of which are displayed through javascript, so that the user gets to the URL with the same request parameters that they started with.
Itβs hard for me to believe that the best way is to hidden form fields and manually add parameters back as part of redirect_to or use session vars for each - it just looks like un-rails.
Does anyone know how best to deal with this?
Thanks!
query-string ruby-on-rails
evanmcd
source share