method
current_connection_id
current_connection_id()
private
Hide source
# File activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb, line 318 def current_connection_id #:nodoc: ActiveRecord::Base.connection_id ||= Thread.current.object_id end