X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fac305e87b9a2df59064ddad666304ceb3d7f7a7..20e02f42dc5d946f4650c806531b09f793abf503:/app/models/tracepoint.rb?ds=sidebyside diff --git a/app/models/tracepoint.rb b/app/models/tracepoint.rb index 9de8dc548..dd75ce0e9 100644 --- a/app/models/tracepoint.rb +++ b/app/models/tracepoint.rb @@ -1,8 +1,8 @@ class Tracepoint < ActiveRecord::Base set_table_name 'gps_points' - validates_numericality_of :latitude - validates_numericality_of :longitude +# validates_numericality_of :latitude +# validates_numericality_of :longitude belongs_to :user belongs_to :trace, :foreign_key => 'gpx_id'