Skip to content

Commit

Permalink
Add a CHANGELOG entry for to_h deprecation
Browse files Browse the repository at this point in the history
We deprecated `to_h` in rails#37231, and
this commit adds the appropriate `CHANGELOG` entry!
  • Loading branch information
seejohnrun committed Sep 18, 2019
1 parent 84496b8 commit 694c962
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 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*
Expand Down

0 comments on commit 694c962

Please sign in to comment.