]> git.openstreetmap.org Git - rails.git/blob - app/models/tracetag.rb
Added a bunch more tests on the API 0.6. Fixed node/way/relation from_xml code to...
[rails.git] / app / models / tracetag.rb
1 class Tracetag < ActiveRecord::Base
2   set_table_name 'gpx_file_tags'
3
4   validates_format_of :tag, :with => /^[^\/;.,?]*$/
5
6   belongs_to :trace, :foreign_key => 'gpx_id'
7 end