class
ActiveRecord::RuntimeRegistry
v4.1.8 -
Show latest stable
- Superclass: Object
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 ActiveSupport::PerThreadRegistry for further details.
Attributes
| [RW] | connection_handler |
| [RW] | connection_id |
| [RW] | sql_runtime |
Files
- activerecord/lib/active_record/runtime_registry.rb