method

runnable_loaders

rails latest stable - Class: ActiveRecord::Associations::Preloader::ThroughAssociation
runnable_loaders()
public

No documentation available.

# File activerecord/lib/active_record/associations/preloader/through_association.rb, line 41
        def runnable_loaders
          if data_available?
            [self]
          elsif through_preloaders.all?(&:run?)
            source_preloaders.flat_map(&:runnable_loaders)
          else
            through_preloaders.flat_map(&:runnable_loaders)
          end
        end