]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/trace.rb
Create an ApplicationRecord for models to inherit from
[rails.git] / app / models / trace.rb
index f1cd72acd600f0ba2278b201c9427c8addaa91ae..d500784af882892ab065d8134fcfdf236c9be353 100644 (file)
@@ -25,7 +25,7 @@
 #  gpx_files_user_id_fkey  (user_id => users.id)
 #
 
-class Trace < ActiveRecord::Base
+class Trace < ApplicationRecord
   self.table_name = "gpx_files"
 
   belongs_to :user, :counter_cache => true