]> git.openstreetmap.org Git - rails.git/blob - app/models/tracepoint.rb
New seg id is now returned complete
[rails.git] / app / models / tracepoint.rb
1 class Tracepoint < ActiveRecord::Base
2   set_table_name 'gps_points'
3
4 #  validates_numericality_of :latitude
5 #  validates_numericality_of :longitude
6
7   belongs_to :user
8   belongs_to :trace, :foreign_key => 'gpx_id'
9 end