I want to loop through all the variables stored in the session. I checked and it appears that sessions are stored as a hash: request.session.kind_of?(Hash) - returns true
I wasn't sure why the following code didn't work: request.session.each {|key, value| puts keys + " --> " + value
I am trying to output all session variables as part of a debug view.