title: Storing variable within controller on rails
body: <p>I know there is a lot of information available for passing variables between one controller action and another, both within the same controller and to other controllers.</p>
  
  <p>But what I am trying to do, which I have been unable to find any documentation on, is temporarily store a variable in one controller action, so that it is available when another controller action(within the same controller) is called shortly after.</p>
  
  <p>I tried using an instance variable but it didn't work.</p>
  
  <p>I don't believe I can use flash because that is only for the very next action.</p>
  
  <p>A class variable wouldn't be suitable because it would lead to conflicts if users were doing things simultaneously.</p>
  
  <p>Any other ideas?</p>