spec/rails_app/app/views/logged_exceptions/details.html.erb in tartarus-2.0.4 vs spec/rails_app/app/views/logged_exceptions/details.html.erb in tartarus-2.2
- old
+ new
@@ -21,11 +21,11 @@
<div id="exception">
<div id="request_information" class="togglable">
<h3><a class="toggle_link" href="javascript:void(0);">Request</a></h3>
<ul class="toggle_data">
- <% @exception.request[:http_details].each_pair do |key, value| %>
+ <% @exception.request['http_details'].each_pair do |key, value| %>
<% unless value.blank? %>
<li><strong><%= key %></strong> :
<% if value.is_a?(Hash) %>
<ul>
<% value.each_pair do |key, value| %>
@@ -49,11 +49,11 @@
</div>
<div id="session_information" class="togglable">
<h3><a class="toggle_link" href="javascript:void(0);">Session & Cookies</a></h3>
<ul class="toggle_data">
- <% @exception.request[:session].each_pair do |key, value| %>
+ <% @exception.request['session'].each_pair do |key, value| %>
<% unless value.blank? %>
<li><strong><%= key %></strong> :
<% if value.is_a?(Hash) %>
<ul>
<% value.each_pair do |key, value| %>
@@ -72,10 +72,10 @@
</div>
<div id="enviroment_information" class="togglable">
<h3><a class="toggle_link" href="javascript:void(0);">Enviroment</a></h3>
<ul class="toggle_data">
- <% @exception.request[:enviroment].each_pair do |key, value| %>
+ <% @exception.request['enviroment'].each_pair do |key, value| %>
<% unless value.blank? %>
<li><strong><%= key%></strong> : <%= value %></li>
<% end %>
<% end %>
</ul>