method

reset

rails latest stable - Class: ActiveRecord::Associations::SingularAssociation

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

reset()
public

Resets the loaded flag to false and sets the target to nil.