]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_way.rb
Handle errors a bit better.
[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