はじめに
Ruby on Railsにて、以下のエラーが発生しました。
NoMethodError in RegistrationsController#update
undefined method `update_attributes' for #<User:0x000000011065da18>
TL;DR
update_attributesではなくupdateを使用することで解決しました。
Rails6からupdate_attributesは非推奨になっているようです。
参考
https://railsguides.jp/6_0_release_notes.html#active-record-非推奨化