# 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