class ActiveRecord::Associations::Preloader::ThroughAssociation
def data_available?
def data_available? owners.all? { |owner| loaded?(owner) } || through_preloaders.all?(&:run?) && source_preloaders.all?(&:run?) end
def data_available? owners.all? { |owner| loaded?(owner) } || through_preloaders.all?(&:run?) && source_preloaders.all?(&:run?) end