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

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -