From: Tom Hughes Date: Wed, 14 Aug 2019 18:06:09 +0000 (+0100) Subject: Revert "Always look to the global scope for the GPX module" X-Git-Tag: live~2535 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/389fee0151d4b7f3b4a77e38143e6990a00d2362?hp=42345cb9b7ff32e477d69047a1b87dea6e649433 Revert "Always look to the global scope for the GPX module" This reverts commit fbefe3550cec6d609ef1dc97ea4c48f73447cee4. --- diff --git a/app/models/trace.rb b/app/models/trace.rb index adaba52ae..f1cd72acd 100644 --- a/app/models/trace.rb +++ b/app/models/trace.rb @@ -245,7 +245,7 @@ class Trace < ActiveRecord::Base def import logger.info("GPX Import importing #{name} (#{id}) from #{user.email}") - gpx = ::GPX::File.new(trace_name) + gpx = GPX::File.new(trace_name) f_lat = 0 f_lon = 0