X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/908a6ef409518d86bfd2cdf0d2a82a6c312821c8..d1aa084d2804137d2c1d4bf04f7fd5fe319d6772:/app/models/tracepoint.rb?ds=sidebyside diff --git a/app/models/tracepoint.rb b/app/models/tracepoint.rb index d4ba39de3..c4ad8e123 100644 --- a/app/models/tracepoint.rb +++ b/app/models/tracepoint.rb @@ -1,7 +1,7 @@ class Tracepoint < ActiveRecord::Base include GeoRecord - set_table_name 'gps_points' + self.table_name = "gps_points" validates_numericality_of :trackid, :only_integer => true validates_numericality_of :latitude, :only_integer => true