<p>Rails does various magic that means that most <code>require</code> statements are unnecessary. This removes the ones that I could find.</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/2134'>https://github.com/openstreetmap/openstreetmap-website/pull/2134</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Remove unnecessary requires from tests</li>
  <li>Move utf8 validator into app/validators</li>
  <li>Remove unnecessary requires from helpers</li>
  <li>Remove unnecessary requires from app</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2134/files#diff-0">app/controllers/oauth_controller.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2134/files#diff-1">app/helpers/browse_helper.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2134/files#diff-2">app/helpers/browse_tags_helper.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2134/files#diff-3">app/helpers/title_helper.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2134/files#diff-4">app/models/client_application.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2134/files#diff-5">app/models/concerns/geo_record.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2134/files#diff-6">app/models/message.rb</a>
    (2)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2134/files#diff-7">app/validators/utf8_validator.rb</a>
    (0)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2134/files#diff-8">test/controllers/amf_controller_test.rb</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2134/files#diff-9">test/controllers/traces_controller_test.rb</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2134/files#diff-10">test/models/trace_test.rb</a>
    (1)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2134.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/2134.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2134.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/2134.diff</a></li>
</ul>

<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/pull/2134">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABWnLfkc-urf81wIzY_Dr4Retgp0PBQPks5vKr5PgaJpZM4alDaC">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABWnLb8SCyhi2eJXGXrlvDBYOrbvU2Q2ks5vKr5PgaJpZM4alDaC.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/openstreetmap-website","title":"openstreetmap/openstreetmap-website","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/openstreetmap-website"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Remove unnecessary requires (#2134)"}],"action":{"name":"View Pull Request","url":"https://github.com/openstreetmap/openstreetmap-website/pull/2134"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2134",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2134",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>