Open-source Ruby projects categorized as ORM/ODM

Top 12 Ruby ORM/ODM Projects

  • Sequel

    Sequel: The Database Toolkit for Ruby

    Project mention: Python: Just Write SQL | | 2023-08-14

    Thea answer to your prayers already exists:

    By far the best database toolkit (ORM, query builder, migration engine) I have seen for any programming language.

  • Mongoid

    The Official Ruby Object Mapper for MongoDB

    Project mention: Is there a better way? | /r/rails | 2022-12-31

    another approach might be to ditch a relational db and use a nosql database like mongodb and There is something called Dynamic Attribute which sounds like the thing you are after.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • Redis-Objects

    Map Redis types directly to Ruby objects

  • ROM

    Data mapping and persistence toolkit for Ruby

    Project mention: Understanding Clean Architecture with small Ruby libraries | | 2022-11-01

    Object Mapper: rom-rb/rom: Data mapping and persistence toolkit for Ruby

  • MongoMapper

    A Ruby Object Mapper for Mongo

  • Ohm

    Object-Hash Mapping for Redis (by soveran)

  • Neo4j.rb

    An active model wrapper for the Neo4j Graph Database for Ruby.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • Hanami::Model

    Ruby persistence framework with entities and repositories

  • NoBrainer

    Ruby ORM for RethinkDB

  • Perpetuity

    Persistence gem for Ruby objects using the Data Mapper pattern

  • MongoModel

    Ruby ORM for MongoDB (compatible with Rails 3)

  • QuickStore

    Simple local key-value store based on YAML::Store.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-08-14.

Ruby ORM/ODM related posts


What are some of the best open-source ORM/ODM projects in Ruby? This list will help you:

Project Stars
1 Sequel 4,821
2 Mongoid 3,923
3 Redis-Objects 2,091
4 ROM 2,047
5 MongoMapper 1,609
6 Ohm 1,390
7 Neo4j.rb 1,381
8 Hanami::Model 444
9 NoBrainer 386
10 Perpetuity 252
11 MongoModel 40
12 QuickStore 1
Tired of breaking your main and manually rebasing outdated pull requests?
Managing outdated pull requests is time-consuming. Mergify's Merge Queue automates your pull request management & merging. It's fully integrated to GitHub & coordinated with any CI. Start focusing on code. Try Mergify for free.