]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/node.rb
replace whichways with rails-friendly code
[rails.git] / app / models / node.rb
index 69ce5d6821618929062a58d338f9d29d54cf5a03..08a675b430960d81dc0276584fa75eea0c18de99 100644 (file)
@@ -9,6 +9,7 @@ class Node < GeoRecord
   validate :validate_position
 
   has_many :old_nodes, :foreign_key => :id
+  has_many :way_nodes
   belongs_to :user
  
   def validate_position