activerecord-multi-tenant
ArLazyPreload
Our great sponsors
activerecord-multi-tenant | ArLazyPreload | |
---|---|---|
1 | 3 | |
695 | 640 | |
0.7% | - | |
6.2 | 5.7 | |
23 days ago | about 2 months ago | |
Ruby | Ruby | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
activerecord-multi-tenant
-
Nile, Serverless Postgres for Modern SaaS
Yup! I lean towards a tenant ID approach. I ALWAYS use a library that enforces these tenant checks on queries. Ruby (https://github.com/citusdata/activerecord-multi-tenant) and Elixir (I wrote https://github.com/sb8244/ecto_tenancy_enforcer) are the ones I have experience with.
ArLazyPreload
- Proof of Concept: auto-preloading in ActiveRecord
-
Enhanced ActiveRecord preloading
Thank you for sharing this with me! It seems that https://github.com/salsify/goldiloader gem does the same as https://github.com/DmitryTsepelev/ar_lazy_preload. It would be great to compare both solutions.
What are some alternatives?
Acts As Tennant - Easy multi-tenancy for Rails in a shared database setup.
n1_loader - Loader to solve N+1 issues for good. Highly recommended for GraphQL API.
Apartment - Database multi-tenancy for Rack (and Rails) applications
Acts As Votable - Votable ActiveRecord for Rails
Milia - Easy multi-tenanting for Rails5 (or Rails4) + Devise
enummer - 🏳️🌈 Multi enums (aka flags) for Rails
multi-tenant-support - Build a highly secure, no data leak, multi-tenant rails app
Acts As Commentable - The ActiveRecord acts_as_commentable plugin
ActsAsTree - ActsAsTree -- Extends ActiveRecord to add simple support for organizing items into parent–children relationships.
BabySqueel - :pig: An expressive query DSL for Active Record
marginalia - Attach comments to ActiveRecord's SQL queries