<p></p>
<p dir="auto">I've rebased this PR and resolved the conflicts today.</p>
<p dir="auto">The fix that we need in Rails hasn't yet made it into a formal release, but I expect that there to be one (rails 7.1) before the end of 2022. I've <a href="https://github.com/gravitystorm/openstreetmap-website/commits/multiple_databases_4_rails_main">tested the code</a> with rails <code class="notranslate">main</code> and it now works! (Glossing over some unrelated rails-7.1 related breakages).</p>
<p dir="auto">So we're back to waiting, but at least we know that we can use our read replicas soon. The steps from here are:</p>
<ul dir="auto">
<li>Wait for the next Rails release</li>
<li>Update this app to work on that release (e.g. wait for composite_primary_keys and <a href="https://github.com/zdennis/activerecord-import/issues/787" data-hovercard-type="issue" data-hovercard-url="/zdennis/activerecord-import/issues/787/hovercard">activerecord-import</a> to be updated)</li>
<li>Rebase this PR</li>
<li>Should be good to go!</li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3201#issuecomment-1332454690">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLEXHRLPSSXPV7JYGTWK6AORANCNFSM45FBHRPA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLIC4DDOOWLQFISA4UDWK6AORA5CNFSM45FBHRPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJ5V2KIQ.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/3201/c1332454690</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/3201#issuecomment-1332454690",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3201#issuecomment-1332454690",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>