<p>This avoids a deprecation warning on rails 6.1</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/3138'>https://github.com/openstreetmap/openstreetmap-website/pull/3138</a></p>
<h4>Commit Summary</h4>
<ul>
<li>Use .add method for adding errors</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3138/files#diff-a7c9720207b1efb208f3edfac9d930717f73bc3451203b9a49c2b040b91c411e">app/validators/characters_validator.rb</a>
(4)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3138/files#diff-8d1a67832273313990faf523203cfbd7a571727db16e6fd2431ccdb17f9b7bfb">app/validators/whitespace_validator.rb</a>
(4)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3138.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/3138.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3138.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/3138.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/3138">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLN2HOQJRFPBIXQSO6TTEDPHBANCNFSM4ZK73M4Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLNOPOFG74KR7ZLDQBLTEDPHBA5CNFSM4ZK73M42YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4MNV5WEQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/3138",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3138",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>