In the view, having done something like
<%= debug params %>
will achieve what you have shown. Using the debugging helper, you can, in principle, get a yaml dump of any variable available for presentation, it will also be a βniceβ dump, formatting it in <pre> block and use a different background color. From the looks of what he has, he could add this to the bottom of the layout (maybe in app / views / layouts / application.html.erb). This will give you this dump to any of your pages.
Roadmaster
source share