2024/10/26分のコミットです。
CHANGELOGへの追加はありませんでした。
Authenticate the action cable connection too (#53444)
railties/lib/rails/generators/rails/authentication/authentication_generator.rb
、
railties/lib/rails/generators/rails/authentication/templates/app/channels/application_cable/connection.rb.tt
の修正です。
Authenticate
generatorが生成するコードで、Action Cableでconnectionを設定するコードも生成するよう修正しています。
railties/lib/rails/generators/rails/authentication/templates/app/channels/application_cable/connection.rb.tt
の修正です。
ファイル末尾の不要なCRを削除しています。
db:prepare no longer loads seed when non-primary db is created
Active Recordの修正です。
primaryでないDBが追加されたときに、db:prepare
を実行してもseedのloadが行われないよう修正しています。primaryに登録済みのデータがある場合に、誤って削除されないようにする為。
Merge pull request #53346 from beauraF/report-log-subscriber-error
activesupport/lib/active_support/log_subscriber.rb
の修正です。
ActiveSupport::LogSubscriber
でexceptionをlogに出力する際に、ActiveSupport.error_reporter
でもexceptionをreportするよう修正しています。エラーの検知をしやすくするためとの事です。