method

collecting_queries_for_explain

rails latest stable - Class: ActiveRecord::Explain
collecting_queries_for_explain()
public

Executes the block with the collect flag enabled. Queries are collected asynchronously by the subscriber and returned.