method
build_through_record
rails latest stable - Class:
ActiveRecord::Associations::HasManyThroughAssociation
build_through_record(record)private
The through record (built with build_record) is temporarily cached so that it may be reused if insert_record is subsequently called.
However, after insert_record has been called, the cache is cleared in order to allow multiple instances of the same record in an association.