2026/05/13分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
activesupport/CHANGELOG.md
railties/CHANGELOG.md
Fix ActionText::Editor::Tag#render_in to accept kwargs
actiontext/lib/action_text/editor.rbの修正です。
Pass render options and block to calls to #render_inのフォローアップとして、ActionText::Editor::Tag#render_inでキーワード引数を指定出来るよう修正しています。
Merge pull request #56872 from 55728/add-start-day-to-this-week
activesupport/lib/active_support/core_ext/date_and_time/calculations.rbの修正です。
this_week?に、all_weekやbeginning_of_weekと同様に週の開始日を指定出来るよう修正しています。
date.this_week? # Uses Date.beginning_of_week (default) date.this_week?(:sunday) # Checks against Sun-Sat week
Enable config.asset_host to read from environment by default
railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.ttの修正です。
rails newで新規にアプリを作成した際のconfig.asset_hostの設定のデフォルトを、ENV(CDN_HOST)から値を読み取るよう修正しています。
config.asset_host = ENV["CDN_HOST"]
Merge pull request #57342 from tahsin352/th-disable-sqlite3-nativetypes
activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rbの修正です。
SQLite3 adapterのNATIVE_DATABASE_TYPESを、MySQL adapter、PostgreSQL adatpterと同様にfreezeしないよう修正しています。
Merge pull request #57349 from seanpdoyle/active-model-conversion-render-in
activemodel/lib/active_model/conversion.rb、
activemodel/lib/active_model/lint.rbの修正です。
ActiveModel::Conversionに#render_inメソッドを追加しています。 Pass render options and block to calls to #render_inに関連して、modelのobjectをAction View contextでrender出来るようにする為。
<%# app/views/people/_person.html.erb %>
<% local_assigns.with_defaults(shout: false) => { shout: } %>
<%= shout ? person.name.upcase : person.name %>
person = Person.new(name: "Ralph") render person # => "Ralph" render person, shout: true # => "RALPH" render renderable: person, locals: { shout: true } # => "RALPH"
Merge pull request #57355 from drjayvee/fix-action_controller-docs
actionpack/lib/action_controller/metal/live.rbのdocの修正です。
ActionController::Liveのdocのフォーマットを修正しています。
Style: avoid unless assignment
activerecord/lib/active_record/test_fixtures.rbの修正です。
unlessでassignmentをしていた(unless (@loaded_fixtures = @@already_loaded_fixtures[@fixture_cache_key]))のを、unlessとassignmentを別の行にするよう修正しています。
Merge pull request #57351 from p8/activestorage/document-metadata
activestorage/app/models/active_storage/blob.rbのdocの修正です。
ActiveStorage::Blob#content_type、及び、ActiveStorage::Blob#metadataのdocを追加しています。
Remove reference to removed Que adapter
activejob/lib/active_job/queue_adapters.rbのdocの修正です。
サポートしているadapterの一覧から、現在はサポートされいていないQue adapterを削除しています。
Fix formatting in Active Storage controller docs
Active Storageのdocの修正です。
docのフォーマットを修正しています。