title: How to access a multidimensional hash session?
body: <p>I am using the session method of Ruby on Rails so that I have a session[:user_params] hash like this:</p>
  
  <pre><code>password_confirmation: "test"
  password: test
  email: test@test.ij
  </code></pre>
  
  <p>I can access that simply using the syntax <strong>session[:user_params]</strong> in my view file.</p>
  
  <p>Now I want access only the 'email' parameter, but trying to use <strong>session[:user_params][:email]</strong>, I get always an empty value. How to access this value?</p>