Categories: None [Edit]

activerecord-tenanted

https://rubygems.org/gems/activerecord-tenanted
https://github.com/basecamp/activerecord-tenanted
Enable a Rails application to have separate databases for each tenant. This gem primarily extends Active Record, creating a new connection pool for each tenant and using horizontal sharding to swap between them. It also provides integrations for middleware tenant selection, Action View Caching, Active Job, Action Cable, Active Storage, Action Mailbox, and Action Text, with support and documentation for Solid Cache, Solid Queue, Solid Cable, and Turbo Rails.

Total

Ranking: 87,278 of 193,214
Downloads: 10,442

Daily

Ranking: 5,706 of 193,188
Downloads: 319

Depended by

RankDownloadsName
184,4551,133rails-multitenant-signup-flow

Depends on

RankDownloadsName
36793,912,258activerecord
45744,956,063railties
63647,708,731zeitwerk

Owners

#GravatarHandle
1iconflavorjones
2iconbasecamp