From: Stefan Mahlitz Date: 2007-05-19T23:31:49+09:00 Subject: Re: PrettyPrint to a web page? Mario T. Lanza wrote: > This is gonna sound like a dumb question to you Ruby veterans, but: How > do you dump pretty_print contents to a web page from within a Rails app? > > I've tried this and a few other things from a view: > >

Session Info

> <% require 'pp' %> > <%= pp(session) %> I don't know with PP, but I'm using this sometimes <%=h session.inspect %> Stefan