module Octoshark::ConnectionPool
Public Instance Methods
connection()
click to toggle source
Handle Rails 8.0 ConnectionPool#connection
deprecation
Calls superclass method
# File lib/octoshark/active_record_extensions.rb, line 40 def connection if respond_to?(:lease_connection) # Rails 7.2+ lease_connection else super end end