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: 188,762 of 196,694
Downloads: 1,008

Daily

Ranking: 57,606 of 196,654
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,426,175,462activesupport
37835,524,473activerecord
46785,021,961railties

Owners

#GravatarHandle
1iconwintan1418