rails_or VS Apartment

Compare rails_or vs Apartment and see what are their differences.

rails_or

Cleaner syntax for writing OR Query in Rails 5, 6. And also add #or support to Rails 3 and 4. (by khiav223577)

Apartment

Database multi-tenancy for Rack (and Rails) applications (by influitive)
Our great sponsors
  • PopRuby - Clothing and Accessories for Ruby Developers
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
rails_or Apartment
0 5
94 2,640
- 0.4%
3.6 0.0
7 months ago about 1 month 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.

rails_or

Posts with mentions or reviews of rails_or. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning rails_or yet.
Tracking mentions began in Dec 2020.

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.
  • Figma's Databases team lived to tell the scale
    5 projects | news.ycombinator.com | 14 Mar 2024
    I recall a popular rails gem[1] once upon a time that provided multi-tenancy via postgres schemas.

    As it turns out, even the company the initially developed the gem ended up ditching the approach due to some of the issues you outlined above.

    Managing separate schemas feels like one of those nefarious decisions that make things simple _initially_ but get you into a world of hurt when you need to scale. The company is since defunct but they have an article where they discuss why they ditched the approach [2], TL;DR it's too difficult to maintain and scale

    [1] https://github.com/influitive/apartment#tenants-on-different...

What are some alternatives?

When comparing rails_or 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

activerecord-multi-tenant - Rails/ActiveRecord support for distributed multi-tenant databases like Postgres+Citus

ranked-model - An acts_as_sortable/acts_as_list replacement built for Rails 4+

Enumerize - Enumerated attributes with I18n and ActiveRecord/Mongoid support

ActsAsList - An ActiveRecord plugin for managing lists.

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

Ancestry - Organise ActiveRecord model into a tree structure

dry-validation - Validation library with type-safe schemas and rules

Ruby JSON Schema Validator - Ruby JSON Schema Validator

Goldiloader - Just the right amount of Rails eager loading

ActiveRecord Import - A library for bulk insertion of data into your database using ActiveRecord.