X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2a0917817c006aaad3be2fa6b5067eb6a506deb3..5a8c4faf3ebf4e80bd41b2f281bc3c23309739d5:/app/models/way_node.rb diff --git a/app/models/way_node.rb b/app/models/way_node.rb index 1a2e6928a..30d901356 100644 --- a/app/models/way_node.rb +++ b/app/models/way_node.rb @@ -1,6 +1,6 @@ class WayNode < ActiveRecord::Base - set_table_name 'current_way_nodes' - set_primary_keys :way_id, :sequence_id + self.table_name = "current_way_nodes" + self.primary_keys = "way_id", "sequence_id" belongs_to :way belongs_to :node