title: Rails session custom, dynamic name
body: <p>Is there a way to set key name for session?</p>
  
  <pre><code>@dynamic_value = 'dynamic_123'
  session[@dynamic_value] = 1
  </code></pre>
  
  <p>Of course this doesn't work, but can I set session key in some way?</p>