]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/way_node.rb
Create an ApplicationRecord for models to inherit from
[rails.git] / app / models / way_node.rb
index 0788a631c8c9c3969ea79dc84988d81fd61f58b6..0626fb2403df19b013700617421c5accfd12c296 100644 (file)
@@ -16,7 +16,7 @@
 #  current_way_nodes_node_id_fkey  (node_id => current_nodes.id)
 #
 
-class WayNode < ActiveRecord::Base
+class WayNode < ApplicationRecord
   self.table_name = "current_way_nodes"
   self.primary_keys = "way_id", "sequence_id"