<p></p>
<blockquote>
<p>So the real answer is no... There are issues in ActionMailer that only seem to appear in production mode :-(</p>
</blockquote>
<p>Looks like <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="681785958" data-permission-text="Title is private" data-url="https://github.com/rails/rails/issues/40068" data-hovercard-type="issue" data-hovercard-url="/rails/rails/issues/40068/hovercard" href="https://github.com/rails/rails/issues/40068">rails/rails#40068</a> - although I recommend skipping everything between the first and last comments.</p>
<blockquote>
<p>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<br>
<code>loader.inflector.inflect("open_id" => "OpenID")</code></p>
</blockquote>
<p>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!</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/3021#issuecomment-752409670">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNHS7CC4AKHNFCHFR3SXL6ZRANCNFSM4VL64KDQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLPMJ23IOJAMRIXTVVTSXL6ZRA5CNFSM4VL64KD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFTMNYRQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/3021#issuecomment-752409670",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/3021#issuecomment-752409670",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>