Fix ConnectionPool deprecation
What does this MR do and why?
We're fixing deprecation problem with ConnectionPool when updating Rails from 7.1 to 7.2
As we're seeing in Update next-rails to 7.2.2.1 (!189168 - merged), there are many failures due to this deprecation message.
References
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
- Checkout the branch
- Change current rails version to 7.2+
- Verify there are no more deprecation messages
🎉
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Bojan Marjanovic