Flowdock
method

build_through_record

Importance_1
Ruby on Rails latest stable (v4.2.7) - 0 notes - 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.

Show source
Register or log in to add new notes.