<h3 dir="auto">Description</h3>
<p dir="auto">In recent years <a href="https://github.com/rails/rails/pull/42538" data-hovercard-type="pull_request" data-hovercard-url="/rails/rails/pull/42538/hovercard">Rails has cut down on the number of initializers</a> it ships with. Some  because they are commented out files users may never need. Others because they specify values that are already set by default. This PR, like <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3530764484" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/6456" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/6456/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/6456">#6456</a>, simplifies our initializers folder by removing an initializer<a href="https://github.com/rails/rails/blob/f73b7f173b3004ec9e920b99dafaaf029887847a/railties/lib/rails/application/configuration.rb#L231"> that is already set by default</a> and no longer ships with new Rails projects.</p>
<h3 dir="auto">How has this been tested?</h3>
<p dir="auto">The tests pass and I was able to navigate the app. Running <code class="notranslate">Rails.application.config.action_dispatch.cookies_serializer</code> returned <code class="notranslate">:json</code> before and after this change.</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/6475'>https://github.com/openstreetmap/openstreetmap-website/pull/6475</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6475/commits/32b53df299901c205c1a03f53178ae5fad6e7dcf" class="commit-link">32b53df</a>  Remove serializer that sets already set default</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6475/files">1 file</a>)</p>
<ul>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6475/files#diff-c343f36f0cc538c190ed49c9796fc6e3eaebc48e1d1929676754d3678b66e3b8">config/initializers/cookies_serializer.rb</a>
    (7)
  </li>
</ul>

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