Ruby ORM/ODM Extensions

Open-source Ruby projects categorized as ORM/ODM Extensions

Top 23 Ruby ORM/ODM Extension Projects

ORM/ODM Extensions
  1. PaperTrail

    Track changes to your rails models

    Project mention: Ask HN: How do you "replay" a costly user mistake in your internal software? | news.ycombinator.com | 2025-07-09

    With Ruby on Rails one can use https://github.com/paper-trail-gem/paper_trail which will keep a record of every database change. Similarly one could record every database query on the database server.

    Looking at clicks sounds like recording the screen of the user. Too many privacy issues IMHO even for an internal tool.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. ActsAsTaggableOn

    A tagging plugin for Rails applications that allows for custom tagging along dynamic contexts.

    Project mention: What's New in Ruby on Rails 8 | news.ycombinator.com | 2024-10-07

    I think what parent said is referring to stuff like

    https://github.com/mbleigh/acts-as-taggable-on

    It's not only that RoR comes with a complete toolset -- it allows you to create your own libraries that extend the capabilities of the framework while keeping the developer experience terse enough through metaprogramming (compare the sample code in the README with the file acts-as-taggable-on/lib/acts-as-taggable-on/taggable.rb, where you can see how the library is opening the classes in runtime through the class_eval technique.

    Not sure how something similar can be achieved in C#

  4. ActiveRecord Import

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

    Project mention: Stop One-By-One Inserts! Bulk Insert Data In Rails With insert_all Or activerecord-import ⚡ | dev.to | 2025-02-28

    activerecord-import: https://github.com/zdennis/activerecord-import

  5. Ancestry

    Organise ActiveRecord model into a tree structure

  6. Audited

    Audited (formerly acts_as_audited) is an ORM extension that logs all changes to your Rails models.

  7. PublicActivity

    Easy activity tracking for models - similar to Github's Public Activity

  8. Paranoia

    acts_as_paranoid for Rails 5, 6 and 7

  9. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  10. Apartment

    Database multi-tenancy for Rack (and Rails) applications

  11. Awesome Nested Set

    An awesome replacement for acts_as_nested_set and better_nested_set.

  12. Discard

    🃏🗑 Soft deletes for ActiveRecord done right

  13. ActsAsList

    An ActiveRecord plugin for managing lists.

    Project mention: Introduction to Gem narabikae: A New Position Management Algorithm Inspired by Figma’s Fractional Indexing | dev.to | 2024-10-06

    In a project I participated in, we originally used the acts_as_list gem to manage the position of items with incremental integers. Every time the position of items was changed, the client would send all the reordered data to the server, which then recalculated the positions.

  14. Closure Tree

    Easily and efficiently make your ActiveRecord models support hierarchies

  15. marginalia

    Attach comments to ActiveRecord's SQL queries

  16. Enumerize

    Enumerated attributes with I18n and ActiveRecord/Mongoid support

  17. Logidze

    Database changes log for Rails

    Project mention: liquibase alternatives - Logidze and dolt | libhunt.com/r/liquibase | 2024-11-19
  18. Goldiloader

    Just the right amount of Rails eager loading

  19. Acts As Tennant

    Easy multi-tenancy for Rails in a shared database setup.

  20. Ruby JSON Schema Validator

    Ruby JSON Schema Validator (by voxpupuli)

  21. Merit

    Reputation engine for Rails apps

  22. Acts As Votable

    Votable ActiveRecord for Rails

  23. ActsAsParanoid

    ActiveRecord plugin allowing you to hide and restore records without actually deleting them.

  24. ActiveRecordExtended

    Adds additional postgres functionality to an ActiveRecord / Rails application

  25. dry-validation

    Validation library with type-safe schemas and rules

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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/ODM Extensions discussion

Log in or Post with

Ruby ORM/ODM Extensions related posts

  • Ask HN: How do you "replay" a costly user mistake in your internal software?

    1 project | news.ycombinator.com | 9 Jul 2025
  • Stop One-By-One Inserts! Bulk Insert Data In Rails With insert_all Or activerecord-import ⚡

    1 project | dev.to | 28 Feb 2025
  • Inserção de dados em massa em bancos relacionais

    1 project | dev.to | 29 Jan 2025
  • liquibase alternatives - Logidze and dolt

    3 projects | 19 Nov 2024
  • Introduction to Gem narabikae: A New Position Management Algorithm Inspired by Figma’s Fractional Indexing

    3 projects | dev.to | 6 Oct 2024
  • A newbie's look at N+1 queries

    1 project | dev.to | 27 Jun 2024
  • RDS Database Migration Series - Facing The Giant: How we migrated 11 TB database

    2 projects | dev.to | 13 May 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 15 Jul 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

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

# Project Stars
1 PaperTrail 6,898
2 ActsAsTaggableOn 4,995
3 ActiveRecord Import 4,107
4 Ancestry 3,804
5 Audited 3,449
6 PublicActivity 2,985
7 Paranoia 2,911
8 Apartment 2,681
9 Awesome Nested Set 2,412
10 Discard 2,286
11 ActsAsList 2,062
12 Closure Tree 1,891
13 marginalia 1,757
14 Enumerize 1,750
15 Logidze 1,647
16 Goldiloader 1,637
17 Acts As Tennant 1,634
18 Ruby JSON Schema Validator 1,596
19 Merit 1,531
20 Acts As Votable 1,531
21 ActsAsParanoid 1,492
22 ActiveRecordExtended 1,379
23 dry-validation 1,375

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Ruby is
the 12th most popular programming language
based on number of references?