Closed agrare closed 2 months ago
Backported to radjabov
in commit 3acd8790a66e9bc0262c67d64f5850d6f55c25d9.
commit 3acd8790a66e9bc0262c67d64f5850d6f55c25d9
Author: Joe Rafaniello <jrafanie@users.noreply.github.com>
Date: Tue Sep 3 11:53:07 2024 -0400
Merge pull request #23171 from agrare/disable_legacy_connection_handling
Opt-in to the new rails connection handling
(cherry picked from commit ec3debfeb2ca89ae5cfc865d6a2bd2f7ba821208)
Rails began warnings about legacy connection handling being deprecated:
https://guides.rubyonrails.org/v7.0/active_record_multiple_databases.html#migrate-to-the-new-connection-handling
I don't see us using the deprecated
#connection_handlers
anywhere (except the archived 11yr old rails fork) https://github.com/search?q=org%3AManageIQ+connection_handler&type=code so it looks like we're safe to opt-in to the new connection handlers.