method
reset_target!
Ruby on Rails latest stable (v7.1.3.2)
-
0 notes -
Class: ActiveRecord::Associations::AssociationCollection
reset_target!()
protected
Hide source
# File activerecord/lib/active_record/associations/association_collection.rb, line 455 def reset_target! @target = Array.new end