なるようになるブログ

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

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

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

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

railties/CHANGELOG.md


Stop generating a license for in-app plugins

railties/lib/rails/generators/rails/plugin/plugin_generator.rbrailties/lib/rails/generators/rails/plugin/templates/%name%.gemspec.ttの修正です。

in-app pluginを生成した際にLICENSEを生成しないよう修正しています。


Update adapter name for mysql to be mysql2 in active record multi db doc

rails guideのMultiple Databases with Active Recordの修正です。

adapter nameがmysqlになってしまっていたのを、mysql2に修正しています。


Fix controller name in Getting Started

rails guideのGetting Started with Railsの修正です。

Adding a Route for Commentsの項でcontroller名をタイポしている箇所があったのを修正しています。


Merge pull request #41579 from kamipo/tree_manager_takes_a_table

Active Recordの修正です。

全てのtree managerのinitializerでtableを引数に受け取れるよう修正しています。SelectManagerは元々受け取れるようになっており、挙動を合わせる為。


Don't execute queries in background when max_threads is 0

activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rbactiverecord/lib/active_record/connection_adapters/abstract_adapter.rbの修正です。

DB configurationのmax_threadsが0になっている場合、async executorによるbackgroundでのquery実行を行わないよう修正しています。


Fix method_missing delegation to not expand positional hash argument

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

ActiveSupport::CurrentAttributesmethod_missingでpositional hash argumentが指定された場合に正しく動作しないようになっていたのを修正しています。