module Dynamoid::Associations

Connects models together through the magic of associations. We enjoy four different kinds of associations presently:

* belongs_to
* has_and_belongs_to_many
* has_many
* has_one

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.

The belongs_to association. For belongs_to, we reference only a single target instead of multiple records; that target is the object to which the association object is associated.

The has and belongs to many association.

The has_many association.

The HasOne association.