projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb45418
)
way history needs to reference nodes with ref=... not id=...
author
Frederik Ramm
<frederik@remote.org>
Fri, 26 Oct 2007 18:14:48 +0000
(18:14 +0000)
committer
Frederik Ramm
<frederik@remote.org>
Fri, 26 Oct 2007 18:14:48 +0000
(18:14 +0000)
app/models/old_way.rb
patch
|
blob
|
history
diff --git
a/app/models/old_way.rb
b/app/models/old_way.rb
index bb267dffbfd673ec3b53f0703ce46b348adf9dbf..aa9c81d0ab9b5864c9e6f809a24c29e08fdf11d3 100644
(file)
--- 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