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 →
Top 23 Ruby ActiveRecord Projects
-
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.
-
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.
-
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.
-
-
AASM
AASM - State machines for Ruby classes (plain Ruby, ActiveRecord, Mongoid, NoBrainer, Dynamoid)
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).“
-
-
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.
-
1) First, let's install the Scenic gem. It's not required, but it gives us nice ways to create and manage views.
-
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.
-
Audited
Audited (formerly acts_as_audited) is an ORM extension that logs all changes to your Rails models.
-
-
-
-
IdentityCache
IdentityCache is a blob level caching solution to plug into Active Record. Don't #find, #fetch!
-
-
-
-
-
-
-
validates_timeliness
Date and time validation plugin for ActiveModel and Rails. Supports multiple ORMs and allows custom date/time formats.
-
-
pg_search
pg_search builds ActiveRecord named scopes that take advantage of PostgreSQL’s full text search
Facets are possible in Postgres but it looks complex:
https://web.archive.org/web/20200815141031/https://roamanaly...
pg_search [0] not to be confused with the ruby gem of the same name [1]:
[0] - https://github.com/paradedb/paradedb/tree/dev/pg_search#over...
[1] - https://github.com/Casecommons/pg_search
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Ruby ActiveRecord discussion
Ruby ActiveRecord related posts
-
Ask HN: How do you "replay" a costly user mistake in your internal software?
-
Show HN: AI Code Review Rules Directory
-
EvilSeed: A tool for creating partial dump of database based on app models
-
Explain why we need .ruby-version file but no ruby DSL method in Gemfile in Rails apps
-
Exploring ActiveRecord::Base::normalizes in Rails 7.1
-
"Kubernetes Explained: Benefits, Use Cases, and Why Airbnb,Spotify and CERN Rely on It 🤖"
-
Scaling Smarter: Unlocking the Power of Ruby on Rails with an Outsourced Team
-
A note from our sponsor - InfluxDB
www.influxdata.com | 20 Jul 2025
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 |