]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/way_segment.rb
Use tile based query when creating a way from unwayed segments.
[rails.git] / app / models / way_segment.rb
index 502174d7b5b4a6f89c7b50900740b31be1922a20..bc81f6b2668c404e8025d492ba11d2724daf1153 100644 (file)
@@ -1,3 +1,5 @@
 class WaySegment < ActiveRecord::Base
   set_table_name 'current_way_segments'
+
+  belongs_to :segment
 end