Module: ModelX::Associations

Extended by:
ActiveSupport::Concern
Included in:
Mixin
Defined in:
lib/model_x/associations.rb

Overview

Adds rudimentary ‘associations’ support to simple models. As there is no real database connection to another object, it is merely simulated by creating two attributes: <name> and <name>_id. They work together so that a database association is simulated.

Defined Under Namespace

Modules: ClassMethods