[openstreetmap/openstreetmap-website] Use .add method for adding errors (#3138)

Andy Allan notifications at github.com
Wed Mar 17 17:12:16 UTC 2021


This avoids a deprecation warning on rails 6.1
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/3138

-- Commit Summary --

  * Use .add method for adding errors

-- File Changes --

    M app/validators/characters_validator.rb (4)
    M app/validators/whitespace_validator.rb (4)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/3138.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3138.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3138
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20210317/43b4f41e/attachment.htm>


More information about the rails-dev mailing list