class

ActiveRecord::ExplainRegistry

v4.0.2 - Show latest stable - Superclass: Object

This is a thread locals registry for EXPLAIN. For example

ActiveRecord::ExplainRegistry.queries

returns the collected queries local to the current thread.

See the documentation of ActiveSupport::PerThreadRegistry for further details.

Attributes

[RW]collect
[RW]queries

Files

  • activerecord/lib/active_record/explain_registry.rb