Module: Goldiloader::CollectionAssociationPatch

Defined in:
lib/goldiloader/active_record_patches.rb

Instance Method Summary collapse

Instance Method Details

#find_from_target?Boolean

Returns:

  • (Boolean)


174
175
176
# File 'lib/goldiloader/active_record_patches.rb', line 174

def find_from_target?
  fully_load? || super
end

#load_targetObject



170
171
172
# File 'lib/goldiloader/active_record_patches.rb', line 170

def load_target(...)
  load_with_auto_include { super }
end