]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/tracepoint.rb
Prevent exceptions while reversing directions
[rails.git] / app / models / tracepoint.rb
index 6473c943031134e87a1a9d99189a07614a9066ff..6352824fd7f08c3c50f781c95c80837c10302aab 100644 (file)
@@ -20,7 +20,7 @@
 #  gps_points_gpx_id_fkey  (gpx_id => gpx_files.id)
 #
 
-class Tracepoint < ActiveRecord::Base
+class Tracepoint < ApplicationRecord
   include GeoRecord
 
   self.table_name = "gps_points"