Module: RailsMultitenant

Extended by:
RailsMultitenant
Included in:
RailsMultitenant
Defined in:
lib/rails_multitenant/global_context_registry.rb,
lib/rails_multitenant.rb,
lib/rails_multitenant/version.rb,
lib/rails_multitenant/multitenant_model.rb,
lib/rails_multitenant/middleware/railtie.rb,
lib/rails_multitenant/global_context_registry/current.rb,
lib/rails_multitenant/middleware/isolated_context_registry.rb,
lib/rails_multitenant/global_context_registry/current_instance.rb,
lib/rails_multitenant/global_context_registry/registry_dependent_on.rb

Overview

Handles storing of global state that may be swapped out or unset at various points. We use this in dandelion to store the current user, org, catalog, etc.

Note: You must ensure your entries are .dup’able.

Defined Under Namespace

Modules: GlobalContextRegistry, Middleware, MultitenantModel

Constant Summary collapse

VERSION =
'0.21.0'