module Geocoder::Store::ActiveRecord::Legacy

def fetch_coordinates!


Fetch coordinates and update (save) +latitude+ and +longitude+ data.
#
def fetch_coordinates!
  warn "DEPRECATION WARNING: The 'fetch_coordinates!' method is deprecated and will be removed in geocoder v1.0. " +
    "Please use 'geocode' instead and then save your objects manually."
  do_lookup(false) do |o,rs|
    r = rs.first
    unless r.latitude.nil? or r.longitude.nil?
      o.send :update_attribute, self.class.geocoder_options[:latitude],  r.latitude
      o.send :update_attribute, self.class.geocoder_options[:longitude], r.longitude
    end
    r.coordinates
  end
end