Module: Dynomite::Associations

Extended by:
ActiveSupport::Concern
Included in:
Item::Components
Defined in:
lib/dynomite/associations.rb,
lib/dynomite/associations/has_one.rb,
lib/dynomite/associations/has_many.rb,
lib/dynomite/associations/belongs_to.rb,
lib/dynomite/associations/association.rb,
lib/dynomite/associations/many_association.rb,
lib/dynomite/associations/single_association.rb,
lib/dynomite/associations/has_and_belongs_to_many.rb

Overview

The base association module which all associations include. Every association has two very important components: the source and the target. The source is the object which is calling the association information. It always has the target_ids inside of an attribute on itself. The target is the object which is referencing by this association.

Defined Under Namespace

Modules: Association, ClassMethods, ManyAssociation, SingleAssociation Classes: BelongsTo, HasAndBelongsToMany, HasMany, HasOne