Sha256: 1b7f09c77821443106b9c997773689e5fb60bc1bb65a081b608467ac7e564b40

Contents?: true

Size: 519 Bytes

Versions: 29

Compression:

Stored size: 519 Bytes

Contents

require 'active_support/per_thread_registry'

module ActiveRecord
  # This is a thread locals registry for Active Record. For example:
  #
  #   ActiveRecord::RuntimeRegistry.connection_handler
  #
  # returns the connection handler local to the current thread.
  #
  # See the documentation of <tt>ActiveSupport::PerThreadRegistry</tt>
  # for further details.
  class RuntimeRegistry # :nodoc:
    extend ActiveSupport::PerThreadRegistry

    attr_accessor :connection_handler, :sql_runtime, :connection_id
  end
end

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
activerecord-4.0.13 lib/active_record/runtime_registry.rb
activerecord-4.0.13.rc1 lib/active_record/runtime_registry.rb
activerecord-4.0.11.1 lib/active_record/runtime_registry.rb
activerecord-4.0.12 lib/active_record/runtime_registry.rb
activerecord-4.0.11 lib/active_record/runtime_registry.rb
activerecord-4.0.10 lib/active_record/runtime_registry.rb
activerecord-4.0.10.rc2 lib/active_record/runtime_registry.rb
activerecord-4.0.10.rc1 lib/active_record/runtime_registry.rb
activerecord-4.0.9 lib/active_record/runtime_registry.rb
activerecord-4.0.8 lib/active_record/runtime_registry.rb
activerecord-4.0.7 lib/active_record/runtime_registry.rb
activerecord-4.0.6 lib/active_record/runtime_registry.rb
activerecord-4.0.6.rc3 lib/active_record/runtime_registry.rb
activerecord-4.0.6.rc2 lib/active_record/runtime_registry.rb
activerecord-4.0.6.rc1 lib/active_record/runtime_registry.rb
activerecord-4.0.5 lib/active_record/runtime_registry.rb
activerecord-4.0.4 lib/active_record/runtime_registry.rb
activerecord-4.0.4.rc1 lib/active_record/runtime_registry.rb
activerecord-4.0.3 lib/active_record/runtime_registry.rb
activerecord-4.0.2 lib/active_record/runtime_registry.rb