なるようになるブログ

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

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

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

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


Respect the timezone, or these would fail on a particular day of the year

activerecord/test/cases/insert_all_test.rbの修正です。

yearをチェックするテストでtimezoneを考慮して値を変換するよう修正しています。特定の日付でテストがエラーになってしまうのを避ける為。


Don't pollute Object with test helper methods

activerecord/test/cases/helper.rbactiverecord/test/cases/test_case.rbの修正です。

ActiveRecord::TestCaseでのみ使用しているhelper methodがTOP levelに定義されていたのを、ActiveRecord::TestCaseで定義するよう修正しています。


Merge pull request #46840 from Shopify/ha/update-capybara-version

Gemfileの修正です。

Capybaraのバージョンを3.38以上に更新しています。Puma 6がサポートしているのが左記バージョンのため。


HWIA#transform_values may take no argument

activesupport/lib/active_support/hash_with_indifferent_access.rbの修正です。

HashWithIndifferentAccess#transform_valuesメソッドの引数から使用していない引数を削除しています。