Class: DuckRecord::Associations::HasManyAssociation

Inherits:
CollectionAssociation show all
Defined in:
lib/duck_record/associations/has_many_association.rb

Overview

This is the proxy that handles a has many association.

If the association has a :through option further specialization is provided by its child HasManyThroughAssociation.

Instance Attribute Summary

Attributes inherited from Association

#owner, #reflection, #target

Method Summary

Methods inherited from CollectionAssociation

#add_to_target, #build, #concat, #delete, #delete_all, #destroy, #empty?, #include?, #reader, #replace, #replace_on_target, #reset, #size, #uniq, #writer

Methods inherited from Association

#initialize, #initialize_attributes, #klass, #loaded?, #marshal_dump, #marshal_load, #reset

Constructor Details

This class inherits a constructor from DuckRecord::Associations::Association