1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/support
eileencodes 7315c91d45
Deprecate #remove_connection in favor of #remove_connection_pool
Calling `#remove_connection` on the handler is deprecated in favor of
`#remove_connection_pool`. This change was made to support changing the
return value from a hash to a `DatabaseConfig` object.
`#remove_connection` will be removed in 6.2.

NOTE: `#remove_connection` on `ActiveRecord::Base` will also now return
a `DatabaseConfig` object. We didn't use a deprecation here since
it's not documented that this method used to return a `Hash`.

Co-authored-by: John Crepezzi <john.crepezzi@gmail.com>
2020-01-21 16:49:20 -05:00
..
stubs Remove duplicated protected params definitions 2019-02-24 19:50:53 +09:00
yaml_compatibility_fixtures Add YAML compatibility for objects from Rails 4.2 2015-03-10 11:56:45 -06:00
config.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
connection.rb Rename a test method to not conflict with a deprecated method 2019-12-17 12:35:15 -05:00
connection_helper.rb Deprecate #remove_connection in favor of #remove_connection_pool 2020-01-21 16:49:20 -05:00
ddl_helper.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
schema_dumping_helper.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00