reset()
Resets the loaded flag to false and sets the target to nil.
# File activerecord/lib/active_record/associations/association.rb, line 45 def reset @loaded = false IdentityMap.remove(target) if IdentityMap.enabled? && target @target = nil end