alexreisner/geocoder — pull request #234 by potomak (2012-05-15 15:38:00+00:00)
Title: Fix "Mysql2::Error: Unknown column 'NaN' in 'where clause'" error

Trying to search near places for unknown locations leads to this error.

This pull address fixes the problem adding a condition that returns false if one between `latitude` and `longitude` from `Geocoder::Calculations.extract_coordinates` is `NaN`.