I am using the session method of Ruby on Rails so that I have a session[:user\_params] hash like this:

```
password_confirmation: "test"
password: test
email: test@test.ij

```

I can access that simply using the syntax **session[:user\_params]** in my view file.

Now I want access only the 'email' parameter, but trying to use **session[:user\_params][:email]**, I get always an empty value. How to access this value?