なるようになるブログ

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

rails commit log流し読み(2023/01/25)

2023/01/25分のコミットです。

CHANGELOGへの追加はありませんでした。


:scissors:

railties/test/application/mailer_previews_test.rbの修正です。

不要な空行を削除しています。


Remove deprecation from template

actionview/lib/action_view/template.rbの修正です。

Add warning for missing translate_locationで追加された、template engineがtranslate_locationメソッドを実装していない場合に表示するdeprecateメッセージを削除しています。error highlightingの為に必要なメソッドなのですが、そのメソッドを実装するかどうはtemplate engineに依存しており、メソッドが実装されてなくも動作しない、という類のものではない為。


Capitalize headings in AR Callbacks guide [ci-skip]

rails guideのActive Record Callbacksの修正です。

見出しに大文字を使用するよう修正しています。


Remove broken link in AR Callbacks guide [ci-skip]

rails guideのActive Record Callbacksの修正です。

存在しないページ内へのリンクが指定されていたのを削除しています。


Merge pull request #47117 from higher-pixels/selenium-capabilities-deprecation

actionpack/lib/action_dispatch/system_testing/driver.rbの修正です。

Seleniumでdeprecatedになったオプションを使用していたのを修正しています。


Merge pull request #47087 from jhawthorn/cookie_domain

actionpack/lib/action_dispatch/middleware/cookies.rbの修正です。

Use string#split instead of regex for domain partsの対応の影響で、cookiedomainオプションに:allを指定した場合に、TLDが2文字のドメインcookieの設定が正しく行われないバグがあったのを修正しています。


Use Gemfile to manage Rack version for dev

Gemfileの修正です。

ENVで使用するRackのバージョンを指定出来るよう修正しています。CIでRack 2系と3系両方についてテストを実行出来るようにする為。