module ActiveRecord::Relation::RecordFetchWarning::QueryRegistry

def queries

def queries
  ActiveSupport::IsolatedExecutionState[:active_record_query_registry] ||= []
end

def reset

def reset
  queries.clear
end