なるようになるブログ

読書感想文かrailsについてかrubyについてか

rails commit log流し読み(2021/02/20)

2021/02/20分のコミットです。

CHANGELOGにのったコミットは以下の通りです。

activerecord/CHANGELOG.md

actionpack/CHANGELOG.md


Allow async executor to be configurable

Active Recordの修正です。

async executorの挙動をconfigで指定出来るよう修正しています。

デフォルトは即座にquery実行する:immediateとなっており、他にglobalのthread poolを使用する:global_thread_poolとDBのconnection毎のthread poolを使用する:multi_thread_poolが指定出来るようになっています。


Remove mention to use ActionMailer to receive emails [ci skip]

rails guideのAction Mailer Basicsの修正です。

Action Mailer Basicsの項からメール受信処理についての言及を削除しています。


Merge pull request #41478 from leequarella/async-finalize-null-session

activerecord/lib/active_record/asynchronous_queries_tracker.rbの修正です。

AsynchronousQueriesTracker#finalize_sessionメソッドでsessionにNullSessionが指定されている場合にエラーにならないよう修正しています。


Add ActionController::Live::Buffer#writeln the write a line to the stream with a newline included (#41501)

actionpack/lib/action_controller/metal/live.rbの修正です。

streamに改行を含めで書き込み処理を行う、ActionController::Live::Buffer#writelnメソッドを追加しています。