it sounds like not difficult at all but after looking for a while I can't find a way to change the limit
of the closest
scope in Geokit-rails
.
I've tried to overide the definition of this method which is defined according to the documentation as:
def closest(options = {})
geo_scope(options).order("#{distance_column_name} asc").limit(1)
end
but with no success.
Any idea? Thank you very much!