2021/12/06分のコミットです。
CHANGELOGへの追加はありませんでした。
Convert attributes to Hash in authenticate_by
activerecord/lib/active_record/secure_password.rb
の修正です。
authenticate_by
メソッドで引数に指定されたattributeをHashに変換してから処理を行うよう修正しています。permitされていないcontroller paramsが指定された場合に、エラーになるようにする為。
Revise docs/comments for the debug gem
railties/lib/rails/generators/rails/app/templates/Gemfile.tt
、rails guideのDebugging Rails Applications
の修正です。
Debugging Rails Applications
guideにZeitwerk
と非互換になる挙動についての詳細を記載した、Autoloading Caveat
の項を追加し、railties/lib/rails/generators/rails/app/templates/Gemfile.tt
内のdebug
gemのコメントはguideへのリンクを記載するだけにしています。