<p></p>
<p>I'm testing your code now...</p>
<p>Assuming I have created a new OAuth2 application. For some reason I forgot to include one of the scopes, and want to edit my OAuth2 application, add the missing scope, and save it again.</p>
<p>When saving, I'm seeing the following error message:</p>
<p>ActiveModel::UnknownAttributeError - unknown attribute 'owner' for Oauth2Application.:<br>
app/controllers/application_controller.rb:331:in <code>better_errors_allow_inline' config/initializers/compressed_requests.rb:27:in </code>call'<br>
config/initializers/cors.rb:9:in `call'</p>
<p>I double checked this use case on master.apis where it's still working as expected.</p>

<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/3300#issuecomment-905905218">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOW7GC6ABDBD3GLB7LT6VRZBANCNFSM5CXNMGEA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email">Android</a>.<img src="https://github.com/notifications/beacon/AAK2OLIHOBK36LP4EAVUYW3T6VRZBA5CNFSM5CXNMGEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGX7QIQQ.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/3300#issuecomment-905905218",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3300#issuecomment-905905218",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>