Permalink
Browse files

Debugging

  • Loading branch information...
suttree committed Jun 27, 2011
1 parent 49d92fc commit 48f70bef8057b398b02a88a1572a1f0865010be5
Showing with 5 additions and 1 deletion.
  1. +5 −1 app/views/shared/_pic.html.erb
@@ -1,3 +1,7 @@
<div class='pic'>
- <%= image_tag current_user.picture_url, :title => 'O hai, ' + current_user.login %>
+ <% begin %>
+ <%= image_tag current_user.picture_url, :title => 'O hai, ' + current_user.login %>
+ <% rescue %>
+ <%= current_user.inspect %>
+ <% end %>
</div>

0 comments on commit 48f70be

Please sign in to comment.