<%= request.request_method %> Parameters
<% params.each do |k,v| %>
- <%= k %>
- <%= v %>
<% end %>
More...
- Remote IP
- <%= request.remote_ip %>
- User Agent
- <%= request.user_agent %>
- Referer
- <%= request.referer %>
- Format
- <%= request.format %>
Variables
<% controller.instance_variables.reject { |k| k.to_s.starts_with?('@_') }.map { |k| [k, instance_variable_get(k)] }.each do |k, v| %>
- <%= k %>
- <%= v %>
<% end %>
Session
<% session.each do |k,v| %>
- <%= k %>
- <%= v %>
<% end %>
<% begin %>
<% file, lineno = controller.class.instance_method(action_name).source_location %>
<%= controller.class.name %>#<%= action_name %>
Edit Source
<%= form_tag superconductor_file_path, :method => :put do %>
<%= hidden_field_tag :file, file %>
<%= text_area_tag :content, File.read(file), :wrap => "off", 'data-line-no' => lineno %>
<% end %>
<% rescue %>
<% end %>