<p></p>
<p><b>@nertc</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5261#discussion_r1910436072">app/models/user.rb</a>:</p>
<pre style='color:#555'>> +  has_many :follows, -> { joins(:following).where(:users => { :status => %w[active confirmed] }) }
+  has_many :followings, :through => :follows, :source => :following
</pre>
<blockquote>
<p dir="auto">Maybe use "Following" instead of "Followed users" for better clarity. It aligns with the common terminology users are familiar with, like "Following" and "Followers," which may feel more intuitive. Just a thought.</p>
</blockquote>
<p dir="auto">As mentioned in previous comments (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2587967937" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5261" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5261/hovercard?comment_id=1803345542&comment_type=review_comment" href="https://github.com/openstreetmap/openstreetmap-website/pull/5261#discussion_r1803345542">#5261 (comment)</a>) common terminology is to use <code class="notranslate">followers</code> (user who follows) and <code class="notranslate">followings</code> (user who is followed). Therefore, I used <code class="notranslate">:followings</code>.</p>
<p dir="auto">About <code class="notranslate">:follows</code>, it was change for <code class="notranslate">:friendships</code>. Another version I thought about was to name it <code class="notranslate">:followerships</code> but it needed additional <code class="notranslate">:class_name => </code> attributes to work and for that, I chose to have standard <code class="notranslate">:follows</code> (as produced from the model's name <code class="notranslate">Follow</code>)</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/5261#discussion_r1910436072">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLP5YWID5BDVXYQQWMD2J7I4BAVCNFSM6AAAAABP6QXVRWVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDKNBSGU2TGMZWGY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLNYKKFIP6VBAAC2S3D2J7I4BA5CNFSM6AAAAABP6QXVRWWGG33NNVSW45C7OR4XAZNRKB2WY3CSMVYXKZLTORJGK5TJMV32UY3PNVWWK3TUL5UWJTUXRRERM.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/5261/review/2542553366</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/5261#discussion_r1910436072",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5261#discussion_r1910436072",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>