Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`ActiveRecord::Base` now has the `with_connection` method, which is like the old `connection` method on `ActiveRecord::Base` but it yields the connection to a block instead of returning it: rails/rails@22f41a1 This new method is now used for transactions, so in order for transactions to work we need to implement an equivalent in Replica Pools.
- Loading branch information