This method is only available on newer versions. The first available version (v7.2.3) is shown here.
reset()
Resets the loaded flag to false and sets the target to nil.
# File activerecord/lib/active_record/associations/singular_association.rb, line 18 def reset super @target = nil end