rails/activerecord/test/activejob
Jean Boussier 7263da542b Deprecate ConnectionPool#connection
Replaced by `#lease_connection` to better reflect what it does.

`ActiveRecord::Base#connection` is deprecated in the same way
but without a removal timeline nor a deprecation warning.

Inside the Active Record test suite, we do remove `Base.connection`
to ensure it's not used internally.

Some callsites have been converted to use `with_connection`,
some other have been more simply migrated to `lease_connection`
and will serve as a list of callsites to convert for
https://github.com/rails/rails/pull/50793
2024-03-01 14:32:55 +01:00
..
destroy_association_async_job_test.rb Remove deprecated ActiveRecord::ActiveJobRequiredError 2024-02-20 21:50:01 +00:00
destroy_association_async_test.rb Deprecate ConnectionPool#connection 2024-03-01 14:32:55 +01:00
helper.rb Revert "Run ActiveRecord -> ActiveJob integration tests in CI" 2021-06-15 11:19:04 -04:00
job_runtime_test.rb Fix Active Record :db_runtime metric 2022-09-15 10:43:33 +02:00
unloadable_base_job.rb Defer constant loading of ActiveRecord::DestroyAssociationAsyncJob via a String instead of a class constant 2022-07-13 11:58:20 -05:00