activerecord-multi-tenant VS Apartment

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

activerecord-multi-tenant

Rails/ActiveRecord support for distributed multi-tenant databases like Postgres+Citus (by citusdata)

Apartment

Database multi-tenancy for Rack (and Rails) applications (by influitive)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
activerecord-multi-tenant Apartment
1 5
695 2,649
0.3% 0.4%
6.2 0.0
about 1 month ago 2 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.

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.

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.

What are some alternatives?

When comparing activerecord-multi-tenant and Apartment 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

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.

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

ArLazyPreload - Lazy loading associations for the ActiveRecord models

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.

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