]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/tracepoint.rb
Don't pass ActiveRecord objects to find and exists?
[rails.git] / app / models / tracepoint.rb
index d4ba39de39368419f2a2434c0ba5acfb2d8a6493..c4ad8e1232790f35ab6bec2801224ef0f21403e1 100644 (file)
@@ -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