method

exec_explain

rails latest stable - Class: ActiveRecord::Explain
exec_explain(queries, options = [])
public

Makes the adapter execute EXPLAIN for the tuples of queries and bindings. Returns a formatted string ready to be logged.