Commit Graph

3 Commits

Author SHA1 Message Date
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
Chedli Bourguiba
1b97f97664 Take AR affixes into account for Action Mailbox database models 2023-12-09 11:02:30 +01:00
Nishiki Liu
1df5ece43b feat: use config pk type in Action Mailbox migration 2023-05-04 08:19:36 -07:00