Make `.connection` always return a permanently leased connection by casperisfine · Pull Request #51192 · rails/rails

Ref: #51083 Redo of: #51154 The introduction of ActiveRecord::Base.with_connection somewhat broke some expectations, namely that calling .connection would cause the connection to be permenently lea...