From 8a69ef115a01f2f6f2ba41d131147b19450a19f5 Mon Sep 17 00:00:00 2001 From: Frederik Ramm Date: Fri, 26 Oct 2007 18:14:48 +0000 Subject: [PATCH] way history needs to reference nodes with ref=... not id=... --- app/models/old_way.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5