awesome-ruby icon indicating copy to clipboard operation
awesome-ruby copied to clipboard

Add ros-apartment to Multi-tenancy

Open hoshy opened this issue 2 years ago • 2 comments

ROS Apartment - Allows Rack applications to deal with database multitenancy through ActiveRecord

hoshy avatar Oct 30 '23 08:10 hoshy

Hey @hoshy! I think we already have this resource under https://github.com/markets/awesome-ruby?tab=readme-ov-file#ormodm-extensions, in the "Multi-tenancy" sub-section. Is this like the new maintained fork?

markets avatar Oct 30 '23 19:10 markets

Hi @markets, you don't. It's another implementation of it.

https://github.com/influitive/apartment (the one you have) vs. https://github.com/rails-on-services/apartment (the new one)

hoshy avatar Nov 10 '23 16:11 hoshy

Since Rails 6 there is "native" way to implement sharding: https://guides.rubyonrails.org/active_record_multiple_databases.html#horizontal-sharding.

So probably that's the reason of both gems being ~abandoned. I'd like to keep current one for historical reasons, but maybe adding this fork is not necessary/relevant anymore?

markets avatar Feb 20 '24 23:02 markets