title: When using ruby-on-rails how do you iterate over variables stored in the session?
body: <p>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</p>
  
  <p>I wasn't sure why the following code didn't work:
  request.session.each {|key, value| puts keys + " --> " + value </p>
  
  <p>I am trying to output all session variables as part of a debug view.</p>