Ruby ActiveRecord

Open-source Ruby projects categorized as ActiveRecord

Top 23 Ruby ActiveRecord Projects

  • Ruby on Rails

    Ruby on Rails

    Project mention: HTML Data Attributes: One of the Original State Management Libraries | | 2023-11-29

    DEV is a Rails monolith, which uses Preact in the front-end using islands architecture. The reason why I mention all this is that it's not a full-stack JavaScript application, and there is no state management library like Redux or Zustand in use. The data store, for the most part on the front end, is all data attributes.

  • PaperTrail

    Track changes to your rails models

    Project mention: historical data and "point in time" data modeling techniques, advice. | /r/dataengineering | 2023-06-28

    if the source (web) application makes their own audit tables. ex: our ruby on rails application uses the paper-trail gem

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • ransack

    Object-based searching.

  • AASM

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

  • Annotate

    Annotate Rails classes with schema and routes info

    Project mention: I spent the past 3 months working on a fork of the Annotate models gem | /r/rails | 2023-05-17

    I believe Ctran is aware of this based on his response in this issue

  • strong_migrations

    Catch unsafe migrations in development

    Project mention: How does Rails handle out of order migrations (when working on different local branches) | /r/rails | 2023-02-26

    There’s no real way to test, but you can use gems like and not allow to merge branches unless they are up-to-date with main.

  • Scenic

    Versioned database views for Rails

    Project mention: Database Views & Rails Active Record: defining new Model classes out of views | | 2023-01-23

    To model our Deliverable class, we will need a view. We will use the popular scenic gem, which provides some useful generators for creating views with their respective migrations, and utilities to handle views versioning.

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

  • Audited

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

    Project mention: Best rails tools to automatically handle logging of things like all a user's actions, or changes to a record in a module - primarily for audit purposes. | /r/ruby | 2023-03-09

    👆This and Audited Gem

  • Elasticsearch Rails

    Elasticsearch integrations for ActiveModel/Record and Ruby on Rails

  • PublicActivity

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

  • IdentityCache

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

  • counter_culture

    Turbo-charged counter caches for your Rails app.

  • Closure Tree

    Easily and efficiently make your ActiveRecord models support hierarchies

  • Enumerize

    Enumerated attributes with I18n and ActiveRecord/Mongoid support

  • marginalia

    Attach comments to ActiveRecord's SQL queries

  • validates_timeliness

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

  • active_record_doctor

    Identify database issues before they hit production.

    Project mention: Many of us can face issues working with ActiveRecord due to its inconsistency with the database schema. That's why I have built database_consistency, which can help you avoid the most common issues and improve your application's performance. | /r/rails | 2022-12-28

    Thank you for your contribution! How would you compare this gem to

  • Logidze

    Database changes log for Rails

    Project mention: Versioning data in Postgres? Testing a Git like approach | | 2023-10-20

    There's an interesting approach to it that works with Rails and PostgreSQL using triggers.

  • Goldiloader

    Just the right amount of Rails eager loading

    Project mention: I received much feedback about resolving the N+1 problem without updating the code. So I have decided to give another writing round to elaborate on the implementation. Please have a look and let me know what you think. | /r/ruby | 2023-03-14

    Been using in a large production application for many years.

  • lockbox

    Modern encryption for Ruby and Rails

    Project mention: Advanced Usages of Devise for Rails | | 2023-08-09

    The first step is to install the gem with bundle add authtrail. Additionally, since you'll be storing user-identifiable information such as emails and IP addresses in your app database, it's highly recommended that you encrypt this data in production using a combination of Lockbox and Blindindex gems.

  • kredis

    Higher-level data structures built on Redis

    Project mention: solder VS kredis - a user suggested alternative | | 2023-05-09
  • Spreadsheet Architect

    Spreadsheet Architect is a library that allows you to create XLSX, ODS, or CSV spreadsheets super easily from ActiveRecord relations, plain Ruby objects, or tabular data.

  • ActiveRecordExtended

    Adds additional postgres functionality to an ActiveRecord / Rails application

  • SaaSHub

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

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 2023-11-29.

Ruby ActiveRecord related posts


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

Project Stars
1 Ruby on Rails 53,923
2 PaperTrail 6,641
3 ransack 5,516
4 AASM 4,886
5 Annotate 4,279
6 strong_migrations 3,674
7 Scenic 3,280
8 Audited 3,244
9 Elasticsearch Rails 3,029
10 PublicActivity 2,910
11 IdentityCache 1,878
12 counter_culture 1,824
13 Closure Tree 1,797
14 Enumerize 1,704
15 marginalia 1,693
16 validates_timeliness 1,569
17 active_record_doctor 1,531
18 Logidze 1,500
19 Goldiloader 1,484
20 lockbox 1,337
21 kredis 1,319
22 Spreadsheet Architect 1,295
23 ActiveRecordExtended 1,222
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives