method
save_through_record
v4.2.9 -
Show latest stable
- Class:
ActiveRecord::Associations::HasManyThroughAssociation
save_through_record(record)private
No documentation available.
# File activerecord/lib/active_record/associations/has_many_through_association.rb, line 116
def save_through_record(record)
build_through_record(record).save!
ensure
@through_records.delete(record.object_id)
end