X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dd33fc633c1bcd2ab4ecfc412ffe5edf43491cec..c9a171c74581e0eb80794e2c9ed92e1b8faffa42:/app/models/tracepoint.rb 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