module ArLazyPreload::Association
ActiveRecord::Association patch with a hook for lazy preloading
Public Instance Methods
load_target()
click to toggle source
Calls superclass method
# File lib/ar_lazy_preload/active_record/association.rb, line 6 def load_target owner.try_preload_lazily(reflection.name) super end