X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/f0feca800d91ac1d23eb63ca17a45d8fd4d41920..8e404f3a468a2636481d52f245b816c41e9d5ac0:/app/models/tracetag.rb diff --git a/app/models/tracetag.rb b/app/models/tracetag.rb index 00f195e69..2614e5971 100644 --- a/app/models/tracetag.rb +++ b/app/models/tracetag.rb @@ -4,5 +4,5 @@ class Tracetag < ActiveRecord::Base validates_format_of :tag, :with => /\A[^\/;.,?]*\z/ validates_length_of :tag, :within => 1..255 - belongs_to :trace, :foreign_key => 'gpx_id' + belongs_to :trace, :foreign_key => "gpx_id" end