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?