Module: Scryer::QueryWatcher::EagerLoadTracking

Defined in:
lib/scryer/query_watcher.rb

Overview

Prepended onto ActiveRecord::QueryMethods (mixed into every Relation). includes/preload/eager_load are the three public methods that request eager loading — recording here, not by inspecting the SQL, is what lets this tell "asked for but unused" apart from "never asked for at all".