From: Frederik Ramm Date: Fri, 26 Oct 2007 18:14:48 +0000 (+0000) Subject: way history needs to reference nodes with ref=... not id=... X-Git-Tag: live~8630 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/8a69ef115a01f2f6f2ba41d131147b19450a19f5?ds=inline way history needs to reference nodes with ref=... not id=... --- diff --git a/app/models/old_way.rb b/app/models/old_way.rb index bb267dffb..aa9c81d0a 100644 --- a/app/models/old_way.rb +++ b/app/models/old_way.rb @@ -99,7 +99,7 @@ class OldWay < ActiveRecord::Base self.old_nodes.each do |nd| # FIXME need to make sure they come back in the right order e = XML::Node.new 'nd' - e['id'] = nd.node_id.to_s + e['ref'] = nd.node_id.to_s el1 << e end