willdurand/GeocodableBehavior — Issue #1: Fixing `filterByDistanceFrom()`
Author: willdurand
Created: 2011-11-06 10:30:19+00:00
State: open

The `filterByDistanceFrom()` method is not perfect:

* Not sure it works fine as a unit test fails;

* Not safe (see: [L216](https://github.com/willdurand/GeocodableBehavior/blob/master/src/GeocodableBehavior.php#L216)). I wonder how to improve this part except to filter values before.

@fzaninotto any ideas to use binding on a column ? Unfortunately, this kind of query cannot be performed in another way.