projects
/
rails.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Adding a lower and upper length on various web site varchar fields. Fixes one test.
[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
validates_length_of :tag, :within => 1..255
6
7
belongs_to :trace, :foreign_key => 'gpx_id'
8
end