なるようになるブログ

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

rails commit log流し読み(2021/11/22)

2021/11/22分のコミットです。

CHANGELOGへの追加はありませんでした。


[ci skip]Add a missing double quote on code comments

activesupport/lib/active_support/error_reporter.rbのdocの修正です。

ActiveSupport::ErrorReporterのdoc内のexampleコードで、クォートが不足している箇所があったのを修正しています。


Merge pull request #43623 from jcoyne/guide

rails guideのThe Asset Pipelineの修正です。

JavaScript compressionについて説明している箇所からuglifierを削除しています。uglifierはES5でしか動作せず、現在は推奨されてない為。


Merge pull request #43671 from Shopify/as-use-isolated-state

Active Supportの修正です。

Threadを使用していた箇所を、Introduce ActiveSupport::IsolatedExecutionState for internal useで追加したActiveSupport::IsolatedExecutionStateを使用するよう修正しています。


Merge pull request #43674 from Shopify/activerecord-isolated-state

Active Recordの修正です。

Threadを使用していた箇所を、Introduce ActiveSupport::IsolatedExecutionState for internal useで追加したActiveSupport::IsolatedExecutionStateを使用するよう修正しています。


Eliminate internal uses of PerThreadRegistry and deprecate it

ActiveSupport::PerThreadRegistryを使用して箇所を、ActiveSupport::IsolatedExecutionStateを使用するよう修正、及び、もう不要になったActiveSupport::PerThreadRegistryをdeprecateにしています


Fix Typo in actio_controller::params_wrapper

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

ActionController::ParamsWrapperのdoc内のグラマーの修正を行っています。


Improve check for GC.stat(:total_allocated_objects)

activesupport/lib/active_support/notifications/instrumenter.rbの修正です。

GC.stat(:total_allocated_objects)を使用出来るかどうかをexceptionが発生するかどうかでチェックしていたのを、GC.stat.key?(:total_allocated_objects)でチェックするよう修正しています。