Class: TenantKit::Railtie

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/tenant_kit/railtie.rb

Overview

Wires TenantKit into a Rails application on boot. Each concern is included only if it has been required, so the gem boots correctly at every build milestone. Hooks are guarded with defined? so a partially-built gem never crashes the host app.