Module: ActiveRecord::Relation::RecordFetchWarning::QueryRegistry
Do not use. This module is for internal use only.
Relationships & Source Files | |
Defined in: | activerecord/lib/active_record/relation/record_fetch_warning.rb |
Instance Method Summary
Instance Method Details
#queries
[ GitHub ]# File 'activerecord/lib/active_record/relation/record_fetch_warning.rb', line 40
def queries ActiveSupport::IsolatedExecutionState[:active_record_query_registry] ||= [] end
#reset
[ GitHub ]# File 'activerecord/lib/active_record/relation/record_fetch_warning.rb', line 44
def reset queries.clear end