From 694c9629804dc3ba1b3edf390e552070d841077b Mon Sep 17 00:00:00 2001 From: John Crepezzi Date: Wed, 18 Sep 2019 17:58:44 -0400 Subject: [PATCH] Add a CHANGELOG entry for to_h deprecation We deprecated `to_h` in https://github.com/rails/rails/pull/37231, and this commit adds the appropriate `CHANGELOG` entry! --- activerecord/CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 51c72bd20e2a2..e83cbf85b425e 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,7 @@ +* Deprecate `DatabaseConfigurations#to_h`. These connection hashes are still available via `ActiveRecord::Base.configurations.configs_for`. + + *Eileen Uchitelle*, *John Crepezzi* + * Add `DatabaseConfig#configuration_hash` to return database configuration hashes with symbol keys, and use all symbol-key configuration hashes internally. Deprecate `DatabaseConfig#config` which returns a String-keyed `Hash` with the same values. *John Crepezzi*, *Eileen Uchitelle*