Ruby ActiveRecord

Open-source Ruby projects categorized as ActiveRecord

Top 23 Ruby ActiveRecord Projects

ActiveRecord
  1. Ruby on Rails

    Ruby on Rails

    Project mention: Unlocking Opportunities: How to Thrive as a Ruby Engineer in Today's Tech Landscape | dev.to | 2025-05-07

    Ruby on Rails open source projects. Contribute and learn at the same time.

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

  4. ransack

    Object-based searching.

  5. AASM

    AASM - State machines for Ruby classes (plain Ruby, ActiveRecord, Mongoid, NoBrainer, Dynamoid)

    Project mention: The New Three-Tier Application | news.ycombinator.com | 2025-03-22

    When they get to what their implementation is, I’m not even sure what it is. Like how is the following different from a library, like acts-as_state_machine (https://github.com/aasm/aasm). Are they auto running the retries - in a background job which they handle (like “serverless” background job)?

    “Implementing orchestration in a library connected to a database means you can eliminate the orchestration tier, pushing its functionality into the application tier (the library instruments your program) and the database tier (your workflow state is persisted to Postgres).“

  6. Annotate

    Annotate Rails classes with schema and routes info

  7. strong_migrations

    Catch unsafe migrations in development

    Project mention: Show HN: AI Code Review Rules Directory | news.ycombinator.com | 2025-06-09

    Hey HN!

    We've been helping other companies build their AI code reviewers, and noticed that people ended up writing similar rules.

    So we built a directory for them! We've also compiled instructions for all the major code reviewers out there (Github Copilot, Coderabbit, Greptile, Diamond).

    The biggest thing we've done is port strong migrations (https://github.com/ankane/strong_migrations) to other languages and ORMs. If you've ever used ruby and miss strong migrations - well, you can have them now.

    We plan on keeping this up to date over time with more helpful rules.

    If you have any that you added to your code review process, please feel free to share and we can add it to the directory.

  8. Scenic

    Versioned database views for Rails

    Project mention: Query multiple tables easily with Rails and Postgres Views | dev.to | 2024-07-31

    1) First, let's install the Scenic gem. It's not required, but it gives us nice ways to create and manage views.

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

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

  11. Elasticsearch Rails

    Elasticsearch integrations for ActiveModel/Record and Ruby on Rails

  12. PublicActivity

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

  13. counter_culture

    Turbo-charged counter caches for your Rails app.

  14. IdentityCache

    IdentityCache is a blob level caching solution to plug into Active Record. Don't #find, #fetch!

  15. Closure Tree

    Easily and efficiently make your ActiveRecord models support hierarchies

  16. active_record_doctor

    Identify database issues before they hit production.

  17. marginalia

    Attach comments to ActiveRecord's SQL queries

  18. Enumerize

    Enumerated attributes with I18n and ActiveRecord/Mongoid support

  19. Logidze

    Database changes log for Rails

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

    Just the right amount of Rails eager loading

  21. validates_timeliness

    Date and time validation plugin for ActiveModel and Rails. Supports multiple ORMs and allows custom date/time formats.

  22. lockbox

    Modern encryption for Ruby and Rails

  23. kredis

    Higher-level data structures built on Redis

  24. ActiveRecordExtended

    Adds additional postgres functionality to an ActiveRecord / Rails application

  25. 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 ActiveRecord discussion

Log in or Post with

Ruby ActiveRecord related posts

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

    1 project | news.ycombinator.com | 9 Jul 2025
  • Show HN: AI Code Review Rules Directory

    1 project | news.ycombinator.com | 9 Jun 2025
  • EvilSeed: A tool for creating partial dump of database based on app models

    1 project | news.ycombinator.com | 19 Feb 2025
  • Explain why we need .ruby-version file but no ruby DSL method in Gemfile in Rails apps

    1 project | dev.to | 16 Feb 2025
  • Exploring ActiveRecord::Base::normalizes in Rails 7.1

    1 project | dev.to | 22 Jan 2025
  • "Kubernetes Explained: Benefits, Use Cases, and Why Airbnb,Spotify and CERN Rely on It 🤖"

    1 project | dev.to | 1 Jan 2025
  • Scaling Smarter: Unlocking the Power of Ruby on Rails with an Outsourced Team

    1 project | dev.to | 9 Dec 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 20 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 ActiveRecord projects in Ruby? This list will help you:

# Project Stars
1 Ruby on Rails 57,125
2 PaperTrail 6,898
3 ransack 5,799
4 AASM 5,101
5 Annotate 4,480
6 strong_migrations 4,238
7 Scenic 3,554
8 Audited 3,449
9 Elasticsearch Rails 3,077
10 PublicActivity 2,986
11 counter_culture 2,063
12 IdentityCache 1,936
13 Closure Tree 1,891
14 active_record_doctor 1,865
15 marginalia 1,757
16 Enumerize 1,751
17 Logidze 1,647
18 Goldiloader 1,637
19 validates_timeliness 1,609
20 lockbox 1,521
21 pg_search 1,478
22 kredis 1,386
23 ActiveRecordExtended 1,381

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?