]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/node.rb
Fix race condition adding traces. Closes #1201.
[rails.git] / app / models / node.rb
index cac6111637a57eeadc4d44a8e19d143fad6a4875..cec755f4765bfc35e9679256934512be093f74da 100644 (file)
@@ -20,9 +20,6 @@ class Node < ActiveRecord::Base
   has_many :old_way_nodes
   has_many :ways_via_history, :class_name=> "Way", :through => :old_way_nodes, :source => :way
 
-  has_many :old_way_nodes
-  has_many :ways_via_history, :class_name=> "Way", :through => :old_way_nodes, :source => :way
-
   has_many :containing_relation_members, :class_name => "RelationMember", :as => :member
   has_many :containing_relations, :class_name => "Relation", :through => :containing_relation_members, :source => :relation, :extend => ObjectFinder