以下の内容はhttps://y-yagi.hatenablog.com/entry/2021/12/07/044943より取得しました。


rails commit log流し読み(2021/12/06)

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.ttrails guideのDebugging Rails Applicationsの修正です。

Debugging Rails Applications guideにZeitwerkと非互換になる挙動についての詳細を記載した、Autoloading Caveatの項を追加し、railties/lib/rails/generators/rails/app/templates/Gemfile.tt内のdebug gemのコメントはguideへのリンクを記載するだけにしています。




以上の内容はhttps://y-yagi.hatenablog.com/entry/2021/12/07/044943より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14