<p></p>
<blockquote>
<p>Well that is the purpose of the file</p>
</blockquote>
<p>I think it would be better if settings were managed through the settings system, rather than having to write ruby code like this. The production.rb file should be used for stuff that's likely to apply to all production deployements, but e.g. smtp passwords are going to differ between all deployments and so aren't really compatible with that file.</p>
<p>So I'm glad that <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/kgreenek/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kgreenek">@kgreenek</a> found a solution, but I think that we can make life easier by exposing settings like these via the settings.yml files.</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/2571#issuecomment-605621139">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLPC4SVRVQDMRSMSWL3RJ4VR3ANCNFSM4LVLGRPQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLPQ3GPGW6OAWY3MEWLRJ4VR3A5CNFSM4LVLGRP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEQMQXEY.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/2571#issuecomment-605621139",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2571#issuecomment-605621139",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>