Module: ActiveRecord

Defined in:
lib/active_record/model_spaces.rb,
lib/active_record/model_spaces/util.rb,
lib/active_record/model_spaces/context.rb,
lib/active_record/model_spaces/registry.rb,
lib/active_record/model_spaces/persistor.rb,
lib/active_record/model_spaces/model_space.rb,
lib/active_record/model_spaces/table_names.rb,
lib/active_record/model_spaces/table_manager.rb

Overview

Include this module in an ActiveRecord model to enable participation of the model in a ModelSpace.

A ModelSpace has a name and, for each model, a number of history versions >= 0

Once participating in a ModelSpace, a Context must be established before the model can be used. The context specifies a prefix and manages versioning

Defined Under Namespace

Modules: ModelSpaces