method
checkout_and_verify
Ruby on Rails latest stable (v6.1.7.7)
-
0 notes -
Class: ActiveRecord::ConnectionAdapters::ConnectionPool
checkout_and_verify(c)
private
Hide source
# File activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb, line 929 def checkout_and_verify(c) c._run_checkout_callbacks do c.verify! end c rescue remove c c.disconnect! raise end