Sha256: 6a9c58f833d7b7b4fe3ce176fbb8bbeb878aae8d322c58bce5eae29ff6b3792b
Contents?: true
Size: 369 Bytes
Versions: 2
Compression:
Stored size: 369 Bytes
Contents
# frozen_string_literal: true module ActiveRecord module ForbidImplicitConnectionCheckout module PreventConnectionCheckout extend ActiveSupport::Concern module ClassMethods def forbid_implicit_connection_checkout_for_thread! Thread.current[:active_record_forbid_implicit_connections] = true end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems