2023/02/02分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #47211 from jonathanhefner/command-help-bare-namespace
railties/lib/rails/command.rb
の修正です。
bin/rails credentials -h
のように、全てのコマンドで-h
によるhelpの表示が出来るよう修正しています。
Use infinitive form verb for all task descriptions
全てのコマンド、rake taskのdescriptionでinfinitive form verbを使用するよう修正しています。
Merge pull request #47219 from p8/guides/strict-loading
rails guideのActive Record Query Interface
の修正です。
strict_loading
についての説明を追加しています。
Remove unintentional array wrap
activerecord/lib/active_record/counter_cache.rb
の修正です。
reset_counters
メソッドの中でwhere
を呼び出す際に、primary_key
オプションをArrayでwrapしていたのですが、このwrapは不要な処理だった為削除しています。
Fix stubbing method with arguments in activerecord/test/cases/explain_test.rb
activerecord/test/cases/explain_test.rb
の修正です。
テスト内のexplain
メソッドのstub処理が正しく行われてなかったのを修正しています。
Bump rubocop from 1.43.0 to 1.44.1 and fix offenses
rubocopのバージョンを1.44.1に更新、及び、バージョン更新に伴いエラーになったファイルのコードを修正しています。
Fixed the invalid usage of primary_abstract_class
rails guideのMultiple Databases with Active Record
の修正です。
primary_abstract_class
を設定で、exampleのprimary_abstract_class
の設定方法が誤っていたのを修正しています。
fixed typo in s3 cors policy example for active storage
rails guideのActive Storage Overview
の修正です。
ExposedHeaders
をExposeHeaders
にタイポしていたのを修正しています。
updated name of MaxAgeSeconds to MaxAge in example CORS policy for S3 buckets
rails guideのActive Storage Overview
の修正です。
S3 bucketにCORS policyを設定するexampleで、key名が誤っている箇所があったのを修正しています。
Merge pull request #47194 from camertron/capture_use_buffer
actionview/lib/action_view/buffers.rb
、
actionview/lib/action_view/helpers/capture_helper.rb
の修正です。
既にviewでActionView::OutputBuffer
のインスタンスを生成済みの場合、capture helperでそのインスタンスのcapture
メソッドを使用して処理を行うよう修正しています。一つのリクエストの処理で同じ@output_buffer
が使われるようにする為。