なるようになるブログ

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

rails commit log流し読み(2021/10/13)

2021/10/13分のコミットです。

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

actiontext/CHANGELOG.md

actionpack/CHANGELOG.md

**

Merge pull request #43137 from composerinteralia/preload-already-loaded

Active Recordの修正です。

preloading処理でload済みのレコードが使われないケースがあったのを、可能な限りload済みのレコードが使われるよう修正しています。


Better ActionText plain text output for nested lists (#37976)

actiontext/lib/action_text/plain_text_conversion.rbの修正です。

Action Textでネストしたリストをplain textに変換する際に、ネスト部分が無視されてしまっていたのを、ネストに合わせてスペースを追加するよう修正しています。


Merge pull request #43415 from rails/rm-translate-on-controllers

Action Pack、Action Viewの修正です。

controllerとviewでhtml suffixのtranslation処理が異なっていたのを、controllerでもviewと同様にescapeした結果が変えるよう修正しています。


Merge pull request #43398 from nvick/bump-rake-pin

railties/railties.gemspecの修正です。

rakeのバージョン指定を>= 12.2に修正しています。Rake 12.2で追加された機能に依存している箇所がある為。


Updated disable_joins examples for has_one through association.

activerecord/CHANGELOG.mdrails guideのMultiple Databases with Active Recordの修正です。

disable_joinsに関するexampleコードが実際には動作しないコードになっていたのを修正しています。


Allow ActiveJob::Base.set to configure job when using .perform_now

Active Jobの修正です。

ActiveJob::Base.setで指定したconfigが.perform_now実行時に無視されてしまうバグがあったのを修正しています。


Fix the development container to set the right permissions to bundler

.devcontainer/Dockerfile.devcontainer/boot.shの修正です。

開発用のコンテナでbundlerに正しいパーミッションが指定されてなかったのを修正しています。


Fix test runner test when the parallelization output is show

railties/test/application/test_runner_test.rbの修正です。

Parallelize tests only when there are enough to justify the parallelization overheadの対応の影響で壊れていたテストがあったのを修正しています(CIでなんで検出出来てなかったのかは不明とのこと)。