Class: ActiveRecord::Associations::HasManyAssociation
- Inherits:
-
AssociationCollection
- Object
- AssociationProxy
- AssociationCollection
- ActiveRecord::Associations::HasManyAssociation
- Defined in:
- lib/active_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.
Direct Known Subclasses
Method Summary
Methods inherited from AssociationCollection
#<<, #any?, #build, #clear, #count, #create, #create!, #delete, #delete_all, #destroy_all, #empty?, #find, #first, #include?, #initialize, #last, #length, #proxy_respond_to?, #replace, #reset, #size, #sum, #to_ary, #transaction, #uniq
Methods inherited from AssociationProxy
#===, #aliased_table_name, #conditions, #initialize, #inspect, #loaded, #loaded?, #proxy_owner, #proxy_reflection, #proxy_respond_to?, #proxy_target, #reload, #reset, #respond_to?, #send, #target, #target=
Constructor Details
This class inherits a constructor from ActiveRecord::Associations::AssociationCollection
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ActiveRecord::Associations::AssociationCollection