]> git.openstreetmap.org Git - rails.git/commit
Use .add method for adding errors
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 17 Mar 2021 17:02:32 +0000 (17:02 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 17 Mar 2021 17:09:34 +0000 (17:09 +0000)
commit6f70c13062cb4375368b32de5a0e5dc6052b94be
tree5547b1ac3fcc840824a0acb43b20d361b232d0ff
parenta2ddcda9111894d11c297bd61da2c599060baf9c
Use .add method for adding errors

This avoids a deprecation warning on rails 6.1
app/validators/characters_validator.rb
app/validators/whitespace_validator.rb