app/models/synchronization/member.rb
def geocode_table
        return unless table && table.automatic_geocoding
        self.log << 'Running automatic geocoding...'
        table.automatic_geocoding.run
      rescue => e
        self.log << "Error while running automatic geocoding: #{e.message}"
      end
# Tries to run automatic geocoding if present
Tries to run automatic geocoding if present
Tries to run automatic geocoding if present
def geocode_table
        return unless table && table.automatic_geocoding
        self.log << 'Running automatic geocoding...'
        table.automatic_geocoding.run
      rescue => e
        self.log << "Error while running automatic geocoding: #{e.message}"
      end
def geocode_table return unless table && table . automatic_geocoding self . log << 'Running automatic geocoding...' table . automatic_geocoding . run rescue => e self . log << "Error while running automatic geocoding: #{e.message}" end
Tries to run automatic geocoding if present
Tries to run automatic geocoding if present