module PireLoader::Patches::Associations::SingularAssociation

Public Instance Methods

find_target() click to toggle source
Calls superclass method
# File lib/pire_loader/patches/associations/singular_association.rb, line 7
def find_target
  return super unless lazy_load?

  PireLoader::Loaders::Singular.preload(self) && target
end