なるようになるブログ

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

rails commit log流し読み(2020/04/11)

2020/04/11分のコミットです。

CHANGELOGにのったコミットは以下の通りです。

activesupport/CHANGELOG.md


Fix db object to not return deprecated variable

activerecord/lib/active_record/database_configurations/hash_config.rbactiverecord/lib/active_record/database_configurations/url_config.rbの修正です。

ActiveRecord::DatabaseConfigurations::HashConfigでdeprecatedになったDatabaseConfig#configを保持していたのを、新しく追加されたDatabaseConfig#configuration_hashの結果を保持するよう修正しています。


Merge pull request #38917 from eugeneius/rm_active_record_define_callbacks

Active Recordの修正です。

Mutation tracker should be cleared before continuing around callbacksの対応により不要になったActiveRecord::DefineCallbacks moduleを削除しています。


Merge pull request #38874 from akinomaeni/inspect-time-with-zone-subsec

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

ActiveSupport::TimeWithZone#inspectナノ秒の値も表示するよう修正しています。