2025/01/09分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Add a space between words in Getting Started docs
rails guideのGetting Started with Rails
の修正です。
Showing Individual Products
セクションのフォーマットの修正を行なっています。
Merge pull request #51746 from 3v0k4/hidden-form
actionview/lib/action_view/helpers/tags/collection_helpers.rb
の修正です。
collection_checkboxes
メソッドがhidden <input>
タグを生成する際に、collection_checkboxes
のhtml_options[:form]
オプションに指定された値を使用して生成するよう修正しています。
actionpack/lib/action_dispatch/routing/mapper.rb
の修正です。
resource
、resources
に不正な:only
又は:except
オプションが指定された場合のArgumentError
に、エラーになったresource nameを含むよう修正しています。
Update assert_notification: payload subset matching, notification return
activesupport/lib/active_support/testing/notification_assertions.rb
の修正です。
assert_notification
メソッド、をpayloadの完全一致ではなく、部分一致でマッチするよう修正しています。この変更により、下記のようにpayloadのkeyが不足している(body
が無い)場合も一致するようになっています。
assert_notification("post.submitted", title: "Cool Post") do ActiveSupport::Notifications.instrument("post.submitted", title: "Cool Post", body: "Cool Body") end
Fix MiniMagic::Image.mime_type deprecation in ASto test
activestorage/test/previewer/video_previewer_test.rb
の修正です。
deprecatedになっているMiniMagic::Image.mime_type
を使用しないよう修正しています。
Fixed typo in the article "2.6.1.4 Building and Creating Associated Objects"
rails guideのActive Record Associations
の修正です。
collection methodについて説明している箇所で、メソッド名をタイポしていたのを修正しています。
Railties sprockets_assets_test use URI::RFC2396_PARSER instead of DEFAULT_PARSER
railties/test/application/sprockets_assets_test.rb
の修正です。
depreatedになっているURI::DEFAULT_PARSER
を使用しないよう修正しています。
Fix assert_no_file with unused block warning
railties/test/generators/api_app_generator_test.rb
の修正です。
assert_no_file
に使用しないblockを渡している箇所があったのを修正しています。