class ActiveRecord::ExplainRegistry
:nodoc:
returns the collected queries local to the current thread.
ActiveRecord::ExplainRegistry.queries
This is a thread locals registry for EXPLAIN. For example
def collect?
def collect? @collect end
def initialize
def initialize reset end
def instance
def instance ActiveSupport::IsolatedExecutionState[:active_record_explain_registry] ||= new end
def reset
def reset @collect = false @queries = [] end