]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/tracepoint.rb
remove the dup methods from the test helper. Add tests for no content and checking...
[rails.git] / app / models / tracepoint.rb
index 8648e555d2ec4c62fd9332fc6fd3bfbb6e9530e2..bf3cdd7c06557978e40614360394b22e85ba78db 100644 (file)
@@ -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
   set_table_name 'gps_points'
 
   validates_numericality_of :trackid, :only_integer => true