[openstreetmap/openstreetmap-website] Specifiy invalid chars in username error message (#2044)

Jamie Guthrie notifications at github.com
Sun Nov 4 16:12:19 UTC 2018

Fixes #157

I've extracted out the regex list of invalid characters to a constant (to avoid errors in duplication) and added a locale translation. This should make the error message a lot more helpful!
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * Specifiy invalid chars in username error message

-- File Changes --

    M app/models/user.rb (7)
    M config/locales/en.yml (1)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181104/84f3587e/attachment.html>

More information about the rails-dev mailing list