agius/gaymercon — pull request #19 by noah256 (2012-11-25 16:48:56+00:00)
Title: Fix ApplicationHelper#format_distance NaN failures

There is some scenario when `Geocalc.distance_between` is returning NaN.
We should fix that, but in the meantime we can catch NaN and avoid
calling its `#to_i` method, which was causing 500 errors on /connect.