Categories: None [Edit]

tenant_kit

https://rubygems.org/gems/tenant_kit
https://github.com/wintan1418/tenant_kit
TenantKit makes a Rails app multi-tenant using the row-level / shared-schema strategy: one database, a tenant_id foreign key on owned tables, automatic query scoping via ActiveSupport::CurrentAttributes, auto-assignment of the current tenant, and first-class tenant propagation into ActiveJob background jobs. It is strict by default: querying a tenant-scoped model with no tenant set raises rather than leaking another tenant's data.

Total

Ranking: 189,492 of 197,258
Downloads: 1,027

Daily

Ranking: 56,448 of 197,235
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,448,506,135activesupport
37848,964,906activerecord
47798,146,182railties

Owners

#GravatarHandle
1iconwintan1418