ruby on rails - Possible to dump the contents of the session onto the screen? -
is possible dump contents of session or in params onto page debugging information? if so, how do it?
thanks
you can use debug method in views pretty print value.
<%= debug params %> <%= debug session %> http://api.rubyonrails.org/classes/actionview/helpers/debughelper.html
Comments
Post a Comment