Create invalid_char validators and apply to models
authorJ Guthrie <jamie.guthrie@gmail.com>
Sun, 4 Nov 2018 18:28:27 +0000 (18:28 +0000)
committerJ Guthrie <jamie.guthrie@gmail.com>
Mon, 5 Nov 2018 14:27:03 +0000 (14:27 +0000)
commitc2f23fea6a7821a4ad4c97fd65744b138ec86267
tree1452a3adba451c25deec24a36a2bb16fcf790617
parent64816e50b57ced52f5fb0082f97b2844e002cf11
Create invalid_char validators and apply to models
25 files changed:
app/models/changeset_comment.rb
app/models/changeset_tag.rb
app/models/diary_comment.rb
app/models/diary_entry.rb
app/models/issue_comment.rb
app/models/message.rb
app/models/node_tag.rb
app/models/note_comment.rb
app/models/old_node_tag.rb
app/models/old_relation_tag.rb
app/models/old_way_tag.rb
app/models/redaction.rb
app/models/relation_tag.rb
app/models/report.rb
app/models/trace.rb
app/models/tracetag.rb
app/models/user.rb
app/models/user_block.rb
app/models/user_preference.rb
app/models/way_tag.rb
app/validators/invalid_chars_validator.rb [new file with mode: 0644]
app/validators/invalid_url_chars_validator.rb [new file with mode: 0644]
app/validators/leading_whitespace_validator.rb [new file with mode: 0644]
app/validators/trailing_whitespace_validator.rb [new file with mode: 0644]
config/locales/en.yml