Hi, I am a newb. Lets say I have url abc.com/?animal=cat. What I need to do is save the param in the session file but still have it available to other controllers. I can get it to work within one controller with:
session[:animal] = param[:animal] but I cannot get it to save and be used by other controllers. I can hack it by adding: session[:animal] = "cat" in the application.rb and adding a before filter to the controller. How do I add a param from a url in a session to be used by all controllers? Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---