Created
September 23, 2014 04:27
-
-
Save MischaTheEvil/687abfbaf09e7479bbf2 to your computer and use it in GitHub Desktop.
Standard instance variables in Rails view(s)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Debug Info</h1> | |
<h2>assigns</h2> | |
<div> | |
<%= debug(assigns) %> | |
</div> | |
<h2>base_path</h2> | |
<div> | |
<%#= debug(base_path) %> | |
</div> | |
<h2>controller</h2> | |
<div> | |
<%= debug(controller) %> | |
</div> | |
<h2>cookies</h2> | |
<div> | |
<%= debug(cookies) %> | |
</div> | |
<h2>flash</h2> | |
<div> | |
<%= debug(flash) %> | |
</div> | |
<h2>logger</h2> | |
<div> | |
<%= debug(logger) %> | |
</div> | |
<h2>params</h2> | |
<div> | |
<%= debug(params) %> | |
</div> | |
<h2>request</h2> | |
<div> | |
<%= debug(request) %> | |
</div> | |
<h2>response</h2> | |
<div> | |
<%= debug(response) %> | |
</div> | |
<h2>session</h2> | |
<div> | |
<%= debug(session) %> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment