<p dir="auto">That let's us use relation names (like <code class="notranslate">sender</code>) and avoid dealing directly with ids.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/4210'>https://github.com/openstreetmap/openstreetmap-website/pull/4210</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4210/commits/4af54ce93bd01a4094a4657cf9e54860a7e16bb2" class="commit-link">4af54ce</a>  Use Activerecord '#or' method for queries</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4210/files">1 file</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4210/files#diff-9b58332ea76756301b1aafeacfb0659d1244ba014947602b0e0bf2d0f2921d26">app/controllers/messages_controller.rb</a>
    (4)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4210.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4210.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4210.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4210.diff</a></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/4210">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNE3DL5LAEZWRSCO53XX5U6LANCNFSM6AAAAAA4EZZFDY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMA4PEZNA7PIWBF4L3XX5U6LA5CNFSM6AAAAAA4EZZFD2WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHG7M4TZA.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/4210</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/4210",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4210",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>