]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_way.rb
comments
[rails.git] / app / models / old_way.rb
index bb267dffbfd673ec3b53f0703ce46b348adf9dbf..aa9c81d0ab9b5864c9e6f809a24c29e08fdf11d3 100644 (file)
@@ -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'
     
     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
  
       el1 << e
     end