X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/30f740178f9dcae12e577229555471428df77b5e..52e58e77c81f3e0234111d365ecaaf3476da5da7:/app/models/trace.rb?ds=inline diff --git a/app/models/trace.rb b/app/models/trace.rb index 8f99e7bd8..155e495a3 100644 --- a/app/models/trace.rb +++ b/app/models/trace.rb @@ -188,7 +188,6 @@ class Trace < ActiveRecord::Base tp.lng = point['longitude'].to_f tp.altitude = point['altitude'].to_f tp.timestamp = point['timestamp'] - tp.user_id = user.id tp.gpx_id = id tp.trackid = point['segment'].to_i tp.save!