Apartment VS activerecord-multi-tenant

Compare Apartment vs activerecord-multi-tenant and see what are their differences.

Apartment

Database multi-tenancy for Rack (and Rails) applications (by influitive)

activerecord-multi-tenant

Rails/ActiveRecord support for distributed multi-tenant databases like Postgres+Citus (by citusdata)
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io
featured
Apartment activerecord-multi-tenant
5 1
2,677 729
-0.1% 0.5%
0.0 5.0
8 months ago 3 months ago
Ruby Ruby
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

Apartment

Posts with mentions or reviews of Apartment. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-14.

activerecord-multi-tenant

Posts with mentions or reviews of activerecord-multi-tenant. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-25.
  • Nile, Serverless Postgres for Modern SaaS
    4 projects | news.ycombinator.com | 25 Oct 2023
    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.

What are some alternatives?

When comparing Apartment and activerecord-multi-tenant you can also consider the following projects:

Acts As Tennant - Easy multi-tenancy for Rails in a shared database setup.

Milia - Easy multi-tenanting for Rails5 (or Rails4) + Devise

pluck_all - A more efficient way to get data from database. Like #pluck method but return array of hashes instead.

multi-tenant-support - Build a highly secure, no data leak, multi-tenant rails app

rails_or - Cleaner syntax for writing OR Query in Rails 5, 6. And also add #or support to Rails 3 and 4.

n1_loader - Loader to solve N+1 issues for good. Highly recommended for GraphQL API.

SanitizeSqlLike - Backport #sanitize_sql_like method from Rails 4 for Rails 3. Sanitizes a string so that it is safe to use within an SQL LIKE statement.

gorynich - [MIRROR] Multitenancy for Rails including ActiveRecord, ActionCable, ActiveJob and other subsystems

BabySqueel - :pig: An expressive query DSL for Active Record

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io
featured

Did you know that Ruby is
the 12th most popular programming language
based on number of references?