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: 45,604 of 198,430
Downloads: 27,929

Daily

Ranking: 8,892 of 198,401
Downloads: 206

Depended by

RankDownloadsName
188,7911,223rails-multitenant-signup-flow

Depends on

RankDownloadsName
37866,211,346activerecord
46814,982,910railties
62731,288,108zeitwerk

Owners

#GravatarHandle
1iconflavorjones
2iconbasecamp