2021/12/05分のコミットです。
CHANGELOGへの追加はありませんでした。
Revert "Clarify passwords/findesr difference by preemptive extraction"
authenticate_by
メソッドでpasswords / findersを一度の処理で取得出来るようにしてた、Clarify passwords/findesr difference by preemptive extractionをRevertしています。左記対応ではpartition
を使うようにしていたのですが、partition
だとActionController::Parameters
が指定された場合にエラーになると(ActionController::Parameters
にはpartition
が定義されていない)いう問題がある為。
Merge pull request #43777 from rails/use-default-application-css-even-without-sprockets
railties/lib/rails/generators/rails/app/app_generator.rb
の修正です。
rails new
に--skip-sprockets
オプションが指定された場合もapplication.css
を作成するよう修正しています。sprocketsを使用しないでもlayoutファイルで参照している為。
Document suggestions for debugging
railties/lib/rails/generators/rails/app/templates/Gemfile.tt
のdocの修正です。
debug
gemのコメントに、使いかたの説明、及び、Zeitwerk
と完全に互換性がある状態ではない旨説明を追加しています。参考: The console prevents Zeitwerk from autoloading certain constants