X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9e0226113cb0e06ceddf15f8ca4cbd2f5359ae30..603d1be4bdb849b4ab1afb53d29a2f59d06d150f:/app/models/trace.rb diff --git a/app/models/trace.rb b/app/models/trace.rb index 155e495a3..c189c035e 100644 --- a/app/models/trace.rb +++ b/app/models/trace.rb @@ -210,7 +210,7 @@ class Trace < ActiveRecord::Base self.icon_picture = gpx.get_icon(min_lat, min_lon, max_lat, max_lon) self.size = gpx.actual_points self.inserted = true - self.save + self.save! end logger.info "done trace #{id}"