2021/09/22分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
actionmailer/CHANGELOG.md
Add missing migrate command to Getting Started section 8.3
rails guideのGetting Started with Railsの修正です。
Using Concernsの項で作成したmigrationファイルの実行処理が不足していたのを修正しています。
Merge pull request #43061 from edwinv/devcontainer
GitHub Codespacesの設定を追加しています。
Fix name of the development package
.devcontainer/Dockerfileの修正です。
mariadbのパッケージ名が誤っていたのを修正しています。
Add fallback host for SystemTestCase driven by RackTest
actionpack/lib/action_dispatch/system_test_case.rbの修正です。
SystemTestCase実行時に、hostの設定がされてない場合http://127.0.0.1をhostとして使用するよう修正しています。driverにRackTestを使用している場合、hostが自動で設定されない為。
Start the mariadb service in the dev container
.devcontainer/boot.shの修正です。
開発用のコンテナ起動時に、mariadbも起動するよう修正しています。
Merge pull request #43104 from ghiculescu/http-406-crash
actionpack/lib/action_dispatch/middleware/show_exceptions.rbの修正です。
不正なHTTPフォーマットが指定されていた場合に、ActionController::Instrumentationでエラーになってしまうバグがあったのを修正しています。
specify how to configure zeitwerk by itself
rails guideのUpgrading Ruby on Railsの修正です。
config.load_defaultsに6.0より前のバージョンを指定している場合、zeitwerk loaderを使用するにはconfig.autoloaderに:zeitwerkを指定する必要がある旨説明を追加しています。
actionpack/lib/action_controller/metal/http_authentication.rbの修正です。
不足していたactive_support/core_ext/array/accessのrequireを追加しています。
Merge pull request #42970 from thutterer/email_address_with_blank_name
actionmailer/lib/action_mailer/base.rbの修正です。
email_address_with_nameメソッドについて、nameが空の場合addressだけを返すよう修正しています。
Merge pull request #42864 from hahmed/ha/new-rails-api-app-errors-on-welcome-controller
railties/lib/rails/welcome_controller.rbの修正です。
welcome controllerにskip_forgery_protectionの指定を追加しています。APIモードで作成されたアプリでも、アクセス時にエラーにならないよういにする為。
actionview/lib/action_view/helpers/url_helper.rbの修正です。
link_toの引数にActive Recordのmodelを指定した場合に、aタグのvalueにmodelの#to_sの結果を使用するよう修正しています。
class Profile < ApplicationRecord def to_s name end end link_to @profile #=> <a href="/profiles/1">Eileen</a>
actionpack/lib/action_dispatch/middleware/host_authorization.rbの修正です。
HostAuthorizationのblock時のdebug情報の表示を、config.consider_all_requests_localがtrueの時だけ行うよう修正しています。本番環境で表示されないようにする為。合わせて、blockが行われた際はログを出力するよう修正しています。
Depend on Zeitwerk 2.5.0.beta4
activesupport/activesupport.gemspecの修正です。
Zeitwerkを2.5.0.beta4に更新しています。