<div style="display: flex; flex-wrap: wrap; white-space: pre-wrap; align-items: center; "><img height="20" width="20" style="border-radius:50%; margin-right: 4px;" decoding="async" src="https://avatars.githubusercontent.com/u/7535628?s=20&v=4" /><strong>rkoeze</strong> left a comment <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5988#issuecomment-2856826847">(openstreetmap/openstreetmap-website#5988)</a></div>
<p dir="auto">It looks like I'm bumping up against the <code class="notranslate">ClassLength</code> cop <a href="https://github.com/openstreetmap/openstreetmap-website/blob/master/.rubocop_todo.yml#L68">here</a>. Happy to close this PR if that's a strict rule we need to observe. We could also update the cop.</p>
<p dir="auto">In the long term, we could look at using a model-specific concern to break up some of the <code class="notranslate">User</code> code (<a href="https://world.hey.com/jorge/code-i-like-iii-good-concerns-5a1b391c" rel="nofollow">here's a post on how that approach is used at Basecamp</a>).</p>
<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/5988#issuecomment-2856826847">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMTVFDI46QN6BOERGT25FUS3AVCNFSM6AAAAAB4SSMU4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQNJWHAZDMOBUG4">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPQXWTF4ZFMORCPGVL25FUS3A5CNFSM6AAAAAB4SSMU4WWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTVKI6356.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/5988/c2856826847</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/5988#issuecomment-2856826847",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5988#issuecomment-2856826847",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>