なるようになるブログ

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

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

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

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

activerecord/CHANGELOG.md


Update the "getting started" guide to Rails 6.1

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

各箇所のRailsのバージョンを6.0 -> 6.1に修正しています。


upsert_all fails cleanly for MySQL

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

MySQLでサポートしていないupsert_allが実行された場合に、ArgumentErrorをraiseするよう修正しています。


Document that S3 requires s3:PutObjectAcl for public access [ci skip]

rails guideのActive Storage Overviewの修正です。

public accessを使用するにはs3:PutObjectAcl permissionが必要である旨説明を追加しています。


Add name to ActionCable threads

actioncable/lib/action_cable/server/worker.rbの修正です。

Action Cable用のスレッドを作成する際に、スレッドに名前を指定するよう修正しています。デバッグの際にスレッドが何の用途の為のスレッドが判別出来るようにする為。


Merge pull request #41860 from p8/fix-previously-saved-for-autosaved-record

Active Recordの修正です。

associationの定義が循環している場合に、autosaveでrecordが二重に保存されてしまうバグがあったのを修正しています。


Merge pull request #41969 from jhawthorn/combine_file_system_resolvers

Action Viewの修正です。

複数あったFileSystemResolverクラス(OptimizedFileSystemResolverFileSystemResolverPathResolver)を1つのFileSystemResolverクラスにマージしています。


chore: fix spelling

Active Recordのテストの修正です。

テスト内のタイポを修正しています。


chore: fix spelling

Active Recordのテストの修正です。

テスト内のタイポを修正しています。


Document input format for multiple arguments

rails guideのThe Rails Command Lineの修正です。

Custom Rake Tasksの項に、rakeタスクに引数を複数指定した場合のexampleを追加しています。


ActiveRecord#strict_loading! should return boolean instead of mode set.

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

ActiveRecord#strict_loading!メソッドの戻り値をstrict loadingの状態を表すboolean値になるよう修正しています。


Adds documentation for strict_loading_n_plus_one_only? [ci skip]

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

ActiveRecord#strict_loading_n_plus_one_only?メソッドにdocを追加しています。


chore: fix spelling

Action Packのテスト、及び、Rails guideの修正です。

各箇所のタイポを修正しています。


chore: fix grammar and spelling

Action Viewのテストの修正です。

各箇所のタイポを修正しています。


docs: fix grammar and spelling [ci skip]

rails guideの修正です。

各箇所のタイポを修正しています。


chore: fix grammar and spelling in Markdown and Ruby files

rails guideの修正です。

各箇所のタイポを修正しています。