debug session

I am new to rails and ruby -- it's all beautiful. The documentation
and community are helpful and clear. I thought I'd drop an e-mail to
the group so it's here for any other noobs that search for this: I was
searching on how to get the session information in my views while
debugging and found the suggestion for <%= debug session %>. It
works, but it can be a bit ugly, and gives all the information in the
session. If I used <%= debug %> I got just the data I
had placed in the session - formatted the way
ActionView::Helpers::DebugHelper.debug(object) shows from the API. I
hope this helps somebody out. Thanks to the Rails community.