module Geocoder::Store::Base

def nearbys(radius = 20, options = {})


Takes the same options hash as the near class method (scope).
Get nearby geocoded objects.
#
def nearbys(radius = 20, options = {})
  return [] unless geocoded? # TODO: return ActiveRecord::Relation, not Array
  options.merge!(:exclude => self)
  self.class.near(self, radius, options)
end