Sha256: d60e48bed4e60fcc84fea721ef202496b2aa9a348bfa07282e0e0b43f6358597

Contents?: true

Size: 535 Bytes

Versions: 5

Compression:

Stored size: 535 Bytes

Contents

require 'active_record'
require 'active_record/forbid_implicit_connection_checkout/version'
require 'active_record/implicit_connection_forbidden_error'

require 'active_record/forbid_implicit_connection_checkout/prevent_connection_checkout'
require 'active_record/forbid_implicit_connection_checkout/connection_override'

ActiveRecord::Base.include(ActiveRecord::ForbidImplicitConnectionCheckout::PreventConnectionCheckout)
ActiveRecord::Base.singleton_class.prepend(ActiveRecord::ForbidImplicitConnectionCheckout::ConnectionOverride)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activerecord-forbid_implicit_connection_checkout-1.0.0 lib/active_record-forbid_implicit_connection_checkout.rb
activerecord-forbid_implicit_connection_checkout-0.4.0 lib/active_record-forbid_implicit_connection_checkout.rb
activerecord-forbid_implicit_connection_checkout-0.3.0 lib/active_record-forbid_implicit_connection_checkout.rb
activerecord-forbid_implicit_connection_checkout-0.2.0 lib/active_record-forbid_implicit_connection_checkout.rb
activerecord-forbid_implicit_connection_checkout-0.1.0 lib/active_record-forbid_implicit_connection_checkout.rb