module Geocoder::Model::MongoBase
def reverse_geocoded_by(coordinates_attr, options = {}, &block)
Set attribute names and include the Geocoder module.
#
def reverse_geocoded_by(coordinates_attr, options = {}, &block) geocoder_init( :reverse_geocode => true, :fetched_address => options[:address] || :address, :coordinates => coordinates_attr, :reverse_block => block ) end