]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/way_node.rb
Adjust code for rails internal changes
[rails.git] / app / models / way_node.rb
index 0788a631c8c9c3969ea79dc84988d81fd61f58b6..c57d3be79a8a4b1651ec24354970e2bcdda2e954 100644 (file)
@@ -16,9 +16,8 @@
 #  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"
 
   belongs_to :way
   belongs_to :node