Ruby ORM

Open-source Ruby projects categorized as ORM

Top 9 Ruby ORM Projects

  1. Mongoid

    The Official Ruby Object Mapper for MongoDB

    Project mention: Mongoid 9.0 Released | news.ycombinator.com | 2024-05-01
  2. Nutrient

    Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers. Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.

    Nutrient logo
  3. Shrine

    File Attachment toolkit for Ruby applications

    Project mention: You Can Make Postgres Scale | news.ycombinator.com | 2025-03-14

    https://github.com/shrinerb/shrine/discussions/665

    I've never personally encountered this, but I've seen other HN contributors mention it.

    From what I can tell, unlike mongo, some postgres queries will try to update the entire JSONB data object vs a single field. This can lead to race conditions.

  4. Her

    Her is an ORM (Object Relational Mapper) that maps REST resources to Ruby objects. It is designed to build applications that are powered by a RESTful API instead of a database.

  5. marginalia

    Attach comments to ActiveRecord's SQL queries

  6. Neo4j.rb

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

  7. ronin

    Ronin is a Free and Open Source Ruby Toolkit for Security Research and Development. Ronin also allows for the rapid development and distribution of code, exploits, payloads, etc, via 3rd-party git repositories. (by ronin-rb)

    Project mention: Ronin: Free and Open Source Ruby Toolkit for Security Research and Development | news.ycombinator.com | 2024-03-19
  8. dynamoid

    Ruby ORM for Amazon's DynamoDB.

  9. CodeRabbit

    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 logo
  10. BabySqueel

    :pig: An expressive query DSL for Active Record

  11. NoBrainer

    Ruby ORM for RethinkDB

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).

Ruby ORM discussion

Log in or Post with

Ruby ORM related posts

  • Finding and optimizing N+1 queries on a relational database

    2 projects | news.ycombinator.com | 11 Sep 2024
  • Mongoid 9.0 Released

    1 project | news.ycombinator.com | 1 May 2024
  • Building a Christmas-Themed Chatbot: My ServerlessGuru Hackathon Journey

    5 projects | dev.to | 17 Dec 2023
  • Handling File Uploads with NestJS and MySQL

    3 projects | dev.to | 2 Aug 2022
  • How to setup Dynamoid in Ruby projects to simplify DynamoDB interactions

    1 project | dev.to | 7 May 2021
  • Appsync or Apollo? Creating a new react/ios/android app.

    2 projects | /r/aws | 18 Mar 2021
  • 20 months, 2K hours, 200K € lost. A story about resilience and sunk cost fallacy

    2 projects | news.ycombinator.com | 4 Jan 2021
  • A note from our sponsor - SaaSHub
    www.saashub.com | 14 Mar 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 Mongoid 3,912
2 Shrine 3,201
3 Her 2,049
4 marginalia 1,755
5 Neo4j.rb 1,400
6 ronin 710
7 dynamoid 588
8 BabySqueel 503
9 NoBrainer 386

Sponsored
Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers
Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
www.nutrient.io