class ArLazyPreload::Contexts::AutoPreloadContext
This class is responsible for automatic association preloading
Public Instance Methods
auto_preload?()
click to toggle source
# File lib/ar_lazy_preload/contexts/auto_preload_context.rb, line 7 def auto_preload? true end
Protected Instance Methods
association_needs_preload?(_association_name)
click to toggle source
# File lib/ar_lazy_preload/contexts/auto_preload_context.rb, line 13 def association_needs_preload?(_association_name) true end