]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_way.rb
Use tile based query when creating a way from unwayed segments.
[rails.git] / app / models / old_way.rb
index 3bcdac8896637cc3cae469a3e5de2dce60f693fe..e4df258167ca3b7f4fff49b42f014cef4d63b6c5 100644 (file)
@@ -38,7 +38,7 @@ class OldWay < ActiveRecord::Base
       tag.save!
     end
 
-    i = 0
+    i = 1
     self.segs.each do |n|
       seg = OldWaySegment.new
       seg.id = self.id