なるようになるブログ

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

rails commit log流し読み(2021/04/21)

2021/04/21分のコミットです。

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


Merge pull request #41897 from ricardotk002/allow-parallel-tests-to-fail-fast

activesupport/lib/active_support/testing/parallelization/server.rbactivesupport/lib/active_support/testing/parallelization/worker.rbの修正です。

parallel testを使用している場合に、testの--fail-fastオプションが動作しなバグがあったのを修正しています。


Merge pull request #42015 from Shopify/refactor-inheritance-column

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

ModelSchema.inheritance_columnをclass attributeで保持するようリファクタリングしています。


Merge pull request #42014 from Shopify/local-cache-rafactor-take-2

activesupport/lib/active_support/cache.rbactivesupport/lib/active_support/cache/strategy/local_cache.rbの修正です。

LocalCacheについて、Marshal.dumpの呼び出し回数を減らすようリファクタリングしています。Refactor LocalCache to avoid calling Marshal.dump as muchのリトライ。


Merge pull request #41999 from jhawthorn/resolver_glob_cleanup

actionview/lib/action_view/template/resolver.rbactionview/lib/action_view/testing/resolvers.rbの修正です。

templateのglobとcheck処理を一緒のタイミングで行うよう修正してます。path参照時にreject処理をしないで済むようにする為。


Merge pull request #41997 from jhawthorn/unbound_template_details

actionview/lib/action_view/template/resolver.rbactionview/lib/action_view/unbound_template.rbの修正です。

Resolver/UnboundTemplateのパース済みのdetailsデータのハンドリング処理をリファクタリングしています。別途UnboundTemplatesの性能改善対応を行っており、その準備の為。


Perform details matching on UnboundTemplates

Action Viewの修正です。

template's pathのparse処理を一度だけで済むようリファクタリングしています。


Merge pull request #42011 from siaw23/improve-webpacker-documntation

rails guideのWebpackerの修正です。

各箇所のグラマー、言い回しの修正を行っています。


Merge pull request #42027 from aidanharan/annotation-test-sqlserver

activerecord/test/cases/annotate_test.rbの修正です。

annotateのtestがSQL Server adapterでも通るよう修正しています。


Replace SecureRandom.random_bytes by Random.bytes in cache store tests

activesupport/test/cache/behaviors/cache_store_behavior.rbの修正です。

cache storeのテストでSecureRandom.random_bytesを使用していたのをRandom.byteを使用するよう修正しています。/dev/urandomが使用しすぎてエントロピープールが枯渇するのを避ける為。