Module: Goldiloader::CollectionAssociationPatch

Defined in:
lib/goldiloader/active_record_patches.rb

Instance Method Summary collapse

Instance Method Details

#find_from_target?Boolean

Returns:

  • (Boolean)


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

def find_from_target?
  fully_load? || super
end

#load_target(*args) ⇒ Object



166
167
168
# File 'lib/goldiloader/active_record_patches.rb', line 166

def load_target(*args)
  load_with_auto_include { super }
end