× {{alert.msg}} Never ask again
Get notified about new tutorials RECEIVE NEW TUTORIALS

Debug Rails' Views with debug()

Kevin Poorman
Jan 16, 2016
<p>You can use the debug method in rails view files to debug the exact variables and objects that are passed into the view.</p> <p>Simply put this in your view code: <code>&lt;%= debug(@instance_variable) %&gt;</code></p> <p> </p> <p> </p>
comments powered by Disqus