I'm confused. Are you trying to write a test? The only inputs to a controller action are the params, the session, and the database. No variables of any kind, global or not, are retained between controller actions, so why would you want to set one?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Always passing the same params | 1 | 118 | March 30, 2007 | |
How do you pass params from one action to another you redirect_to? | 0 | 149 | September 1, 2006 | |
Fundamental question: passing params | 2 | 161 | October 13, 2006 | |
passing params | 0 | 114 | December 16, 2007 | |
Best practice for passing vars etc... | 2 | 189 | April 8, 2009 |