Ruby ActiveRecord

Open-source Ruby projects categorized as ActiveRecord | Edit details

Top 23 Ruby ActiveRecord Projects

  • GitHub repo Ruby on Rails

    Ruby on Rails

    Project mention: How to test all workers in one big loop? | | 2021-12-02

    Welcome. Also I made it the default for Rails 7:

  • GitHub repo PaperTrail

    Track changes to your rails models

    Project mention: PaperTrail VS time-travel - a user suggested alternative | | 2021-09-18
  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo ransack

    Object-based searching.

    Project mention: ransack VS Searchkick - a user suggested alternative | | 2021-08-12
  • GitHub repo AASM

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

    Project mention: Code review of an Order object implemented as a state machine | | 2021-03-21

    AASM gem is great too! Easy to use and actively maintained.

  • GitHub repo Annotate

    Annotate Rails classes with schema and routes info

    Project mention: Rails application boilerplate for fast MVP development | | 2021-08-06

    annotate for annotations

  • GitHub repo Elasticsearch Rails

    Elasticsearch integrations for ActiveModel/Record and Ruby on Rails

    Project mention: Anyone using elasticsearch-rails? contingency plans? | | 2021-08-09

    If anyone is curious about the solution:

  • GitHub repo Scenic

    Versioned database views for Rails

    Project mention: Frameworks for SQL Development in Rails? | | 2021-10-05

    I use the scenic gem to manage views which uses raw sql files:

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo PublicActivity

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

    Project mention: How to Create A Flexible, Performant Audit Trail In Ruby on Rails With A GraphQL API | | 2021-04-08

    You often want to track what user's are doing throughout your app. There are some gems that help you do this. For example, activerecord_activity_tracker or public_activity. However, gems like these sometimes utilize polymorphic relationships, which don't scale well, or they're very opinionated about the setup. When your requirements differ from the default setup, it can become cumbersome to implement.

  • GitHub repo strong_migrations

    Catch unsafe migrations in development

    Project mention: Tutorial/example for zero downtime deploys for rails apps hosted on digital ocean? | | 2021-10-07

    Database migrations: you should use strong_migrations to catch unsafe migrations that will lock your database.

  • GitHub repo IdentityCache

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

    Project mention: Rails application boilerplate for fast MVP development | | 2021-08-06

    add identity_cache

  • GitHub repo Closure Tree

    Easily and efficiently make your ActiveRecord models support hierarchies

    Project mention: Hierarchical Structures in PostgreSQL | | 2021-06-25

    I'm actually using materialized views and CTE with PhotoStructure (where hierarchies are arguably the cornerstone of the product).

    It's pretty funny that I landed on this implementation, given that I spent a couple years building (one of the most popular acts-as-hierarchy ActiveRecord gems), as it (unsurprisingly) uses closure trees.

    When CTE isn't available, closure trees are nice, but boy howdy, does that closure tree table get gigantic with deeper graphs.

    If CTE is available, closure trees don't even come close in performance and simplicity.

    (Hint: materialized paths should use a unique separator: ASCII 0x1F is applicable:

  • GitHub repo Enumerize

    Enumerated attributes with I18n and ActiveRecord/Mongoid support

  • GitHub repo counter_culture

    Turbo-charged counter caches for your Rails app.

    Project mention: Storing aggregate values? | | 2021-10-06

    Have a look at counter_culture

  • GitHub repo marginalia

    Attach comments to ActiveRecord's SQL queries

  • GitHub repo validates_timeliness

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

  • GitHub repo Logidze

    Database changes log for Rails

  • GitHub repo 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.

  • GitHub repo Goldiloader

    Just the right amount of Rails eager loading

    Project mention: Prosopite is trending on GitHub! Thank you! | | 2021-02-20

    Prosopite looks cool, it's is similar to, though goldiloader will also rewrite the query to address the N+1 issue. You should be able to use both and verify goldiloader is working by checking that prosopite logs no N+1 queries.

  • GitHub repo lockbox

    Modern encryption for Ruby and Rails

    Project mention: Rails application boilerplate for fast MVP development | | 2021-08-06

    lockbox and blind_index for email fields encryption

  • GitHub repo active_record_doctor

    Identify database issues before they hit production.

  • GitHub repo SQL Server

    SQL Server Adapter For Rails

  • GitHub repo ActiveRecordExtended

    Adds additional postgres functionality to an ActiveRecord / Rails application

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 2021-12-02.

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 49,499
2 PaperTrail 6,182
3 ransack 5,003
4 AASM 4,446
5 Annotate 3,829
6 Elasticsearch Rails 2,892
7 Scenic 2,839
8 PublicActivity 2,820
9 strong_migrations 2,688
10 IdentityCache 1,730
11 Closure Tree 1,664
12 Enumerize 1,631
13 counter_culture 1,529
14 marginalia 1,527
15 validates_timeliness 1,402
16 Logidze 1,188
17 Spreadsheet Architect 1,172
18 Goldiloader 1,152
19 lockbox 1,078
20 active_record_doctor 1,041
21 SQL Server 934
22 ActiveRecordExtended 905
23 pg_search 778
Find remote jobs at our new job board There are 32 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives