[openstreetmap/openstreetmap-website] Upgrade to Rails 6.1 (#3021)
Andy Allan
notifications at github.com
Wed Dec 30 10:34:00 UTC 2020
> So the real answer is no... There are issues in ActionMailer that only seem to appear in production mode :-(
Looks like https://github.com/rails/rails/issues/40068 - although I recommend skipping everything between the first and last comments.
> So yes, the solution is not to change inflections globally. You can afford global changes if they do not break stuff, but if they do, you need to be more precise. Fortunately, Rails 6 gives you the means to be more precise and instead of saying "ID" has to be treated that way globally, you may say
> `loader.inflector.inflect("open_id" => "OpenID")`
I've briefly tried that, by removing the global inflectors and using a zeitwerk-specific inflection list, but I got lost in a rabbit-hole around the UTF8Validator class. I'll come back to this next week unless you beat me to it!
--
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/issues/3021#issuecomment-752409670
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20201230/606c6cbe/attachment.htm>
More information about the rails-dev
mailing list