Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ros-apartment to Multi-tenancy #1128

Closed
hoshy opened this issue Oct 30, 2023 · 3 comments
Closed

Add ros-apartment to Multi-tenancy #1128

hoshy opened this issue Oct 30, 2023 · 3 comments
Labels

Comments

@hoshy
Copy link

hoshy commented Oct 30, 2023

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

@markets
Copy link
Owner

markets commented Oct 30, 2023

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?

@hoshy
Copy link
Author

hoshy commented Nov 10, 2023

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)

@markets
Copy link
Owner

markets commented Feb 20, 2024

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 markets closed this as completed Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants