Skip to content
Browse files

Merge pull request #4 from drewblas/master

Some env vars can be symbols
  • Loading branch information...
2 parents 95ed6ba + 666b112 commit 464156c06e07b23ad763a8ea3b13ae0a4d1f50b4 @mdeiters committed Feb 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/healthy/views/show.erb
View
2 lib/healthy/views/show.erb
@@ -44,7 +44,7 @@
<%= Healthy::ServerIdentity.identity %>
<a href='#headers' onclick="$('#headers').toggle(); return false;">(show headers)</a>
</h4>
- <div id='headers'><h6><%= request.env.keys.sort.collect{|n| "#{n} = #{request.env[n]}" }.join('<br>') %></h6></div>
+ <div id='headers'><h6><%= request.env.keys.map(&:to_s).sort.collect{|n| "#{n} = #{request.env[n]}" }.join('<br>') %></h6></div>
</div>
</body>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>

0 comments on commit 464156c

Please sign in to comment.
Something went wrong with that request. Please try again.