Open-source Ruby projects categorized as ORM/ODM

Top 12 Ruby ORM/ODM Projects

  • Sequel

    Sequel: The Database Toolkit for Ruby

    Project mention: What It Took to Build a Rails Integration for Rodauth | | 2022-10-12

    Even though Rodauth is built on top of Roda and Sequel, it can work as a Rack middleware in any Ruby web framework. In the beginning, there was a demo app showing how Rodauth can be used in Rails, which leveraged the (now discontinued) roda-rails gem. However, the integration felt fairly raw, and definitely lacked the ergonomics Rails developers are used to.

  • Mongoid

    Ruby ODM framework for MongoDB

    Project mention: A routine gem update ended up creating $73k worth of subscriptions | | 2022-01-07
  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • 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

    Project mention: MongoDB + Ruby: Which ODM are you using? | | 2022-09-08

    MongoMapper predates Mongoid (I believe), but is anyone using this for their current projects? If so, what do you like about it that Mongoid doesn't provide?

  • Ohm

    Object-Hash Mapping for Redis (by soveran)

  • Neo4j.rb

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

    Project mention: [D] Seeking Advice - For graph ML, Neo4j or nah? | | 2022-07-29

    The native Python client does add additional overhead when training GNN models. I have also found older reported issues regarding performance hits with neo4j's python driver. Now, these issues may not be strictly pertinent to our current use-case, but they reflect an underlying concern: Performance degradation when interaction between neo4j and native python is considered.

  • Zigi

    The context switching struggle is real. Zigi makes context switching a thing of the past. It monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack!

  • Hanami::Model

    Ruby persistence framework with entities and repositories

    Project mention: Utilizando o padrão interactor no Ruby on Rails | | 2022-03-20

    Hanami::Model - Persistence with entities, repositories and data mapper

  • 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 2022-11-01.

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,701
2 Mongoid 3,913
3 Redis-Objects 2,071
4 ROM 2,012
5 MongoMapper 1,611
6 Ohm 1,389
7 Neo4j.rb 1,364
8 Hanami::Model 435
9 NoBrainer 386
10 Perpetuity 252
11 MongoModel 40
12 QuickStore 1
Truly a developer’s best friend
Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.