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: 55,252 of 197,051
Downloads: 21,169

Daily

Ranking: 9,521 of 197,010
Downloads: 146

Depended by

RankDownloadsName
188,1871,192rails-multitenant-signup-flow

Depends on

RankDownloadsName
37845,130,767activerecord
47794,391,473railties
63708,250,657zeitwerk

Owners

#GravatarHandle
1iconflavorjones
2iconbasecamp