The ConnectionAdapter defines two callbacks :checkout
(connect) and :checkin
(disconnect).
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.set_callback :checkout, :after do
raw_connection
end
The ConnectionAdapter defines two callbacks :checkout
(connect) and :checkin
(disconnect).
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.set_callback :checkout, :after do
raw_connection
end