]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_way_node.rb
Changed required version of OAuth gem, as that exact version wasn't necessary.
[rails.git] / app / models / old_way_node.rb
index 7420b5cfc6de874fff207e65571eda62f4e9a7ae..6234b85c2b48c4baaeb15579623e878a49d19c3e 100644 (file)
@@ -4,4 +4,7 @@ class OldWayNode < ActiveRecord::Base
   set_primary_keys :id, :version, :sequence_id
 
   belongs_to :way, :foreign_key=> :id
+  
+  # A bit messy, referring to current nodes, should do for the data browser for now
+  belongs_to :node
 end