X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dd33fc633c1bcd2ab4ecfc412ffe5edf43491cec..1721aa1c0dd7e5d3f1f87054cf63040e5d914671:/app/models/tracepoint.rb?ds=sidebyside diff --git a/app/models/tracepoint.rb b/app/models/tracepoint.rb index 8648e555d..bf3cdd7c0 100644 --- a/app/models/tracepoint.rb +++ b/app/models/tracepoint.rb @@ -1,4 +1,6 @@ -class Tracepoint < GeoRecord +class Tracepoint < ActiveRecord::Base + include GeoRecord + set_table_name 'gps_points' validates_numericality_of :trackid, :only_integer => true