From: John Dong Date: Wed, 15 Aug 2007 21:35:51 +0000 (-0400) Subject: Display same in hostname and IP when IP lookup fails X-Git-Url: https://projects.mako.cc/source/selectricity-live/commitdiff_plain/8f3646d179b4d779c9521b6cc1b227f371830395 Display same in hostname and IP when IP lookup fails --- diff --git a/app/views/quickvote/results.rhtml b/app/views/quickvote/results.rhtml index 98a71e5..9677d9a 100644 --- a/app/views/quickvote/results.rhtml +++ b/app/views/quickvote/results.rhtml @@ -160,7 +160,7 @@ by several other names.

<%= `host #{IPAddr.new(voter.ipaddress).to_s}`.sub(/^.*pointer (.*)\.$/, '\1') %> <% rescue ArgumentError => err %> - <%= " - " %> + <%= voter.ipaddress %> <% end %> <%= voter.vote.votestring %>