Sha256: 6b9534f4d9d29a0729b38d2bdc955f76706810b7253a945c4735cdc8f0db2dac
Contents?: true
Size: 362 Bytes
Versions: 3
Compression:
Stored size: 362 Bytes
Contents
if defined?(ActiveRecord) module ActiveRecord module ConnectionAdapters class ConnectionPool def force_new_connection old_lock = @lock_thread @lock_thread = nil with_connection do |conn| yield conn end ensure @lock_thread = old_lock end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gb_dispatch-0.1.2 | lib/gb_dispatch/active_record_patch.rb |
gb_dispatch-0.1.1 | lib/gb_dispatch/active_record_patch.rb |
gb_dispatch-0.1.0 | lib/gb_dispatch/active_record_patch.rb |