Ruby Postgres

Open-source Ruby projects categorized as Postgres

Top 17 Ruby Postgre Projects

  • flipper

    :dolphin: Beautiful, performant feature flags for Ruby. (by jnunemaker)

    Project mention: How do you release experimental features to early adopters? | | 2022-10-29

    I think you are calling it Runtime Controls:

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

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • Que

    A Ruby job queue that uses PostgreSQL's advisory locks for speed and reliability.

    Project mention: Delayed Job vs. Sidekiq: Which Is Better? | | 2022-02-16

    This one seems to be the most performant. By a lot too, from my understanding (haven't ran any benchmark myself, but the readme shows some good postgres knowledge)

  • ActiveRecordExtended

    Adds additional postgres functionality to an ActiveRecord / Rails application

    Project mention: My project: railstart app | | 2022-06-12


  • jsonb_accessor

    Adds typed jsonb backed fields to your ActiveRecord models.

    Project mention: My project: railstart app | | 2022-06-12


  • SearchCop

    Search engine like fulltext query support for ActiveRecord

    Project mention: I need to write a database query language. I have a blank sheet of paper. | | 2022-07-19
  • zero_downtime_migrations

    Zero downtime migrations with ActiveRecord 3+ and PostgreSQL

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • docker-rails-example

    A production ready example Rails app that's using Docker and Docker Compose.

    Project mention: Rails on Docker · Fly | | 2023-01-26

    If anyone is looking for a more complete guide I put together this a while back:

    The post also includes a ~1h hour ad-free YouTube video. It includes running Rails and also Sidekiq, Postgres, Redis, Action Cable and ties in esbuild and Tailwind too. It's all managed by Docker Compose.

    The example app is open source at and it's optimized for both development and production. No strings attached.

  • with_advisory_lock

    Advisory locking for ActiveRecord

    Project mention: How to Avoid Race Conditions in Rails | | 2022-05-24

    Advisory locking is a mechanism used to prevent concurrent execution of code without necessarily locking the database table or row. In core Ruby, this is implemented using mutex. In Rails, the Ruby gem with_advisory_lock can be used to add advisory locking (mutexes) to ActiveRecord when used with MySQL or PostgreSQL.

  • pg_party

    ActiveRecord PostgreSQL Partitioning

  • safe-pg-migrations

    Make your PostgreSQL migrations safe

    Project mention: Show HN: Zero-downtime PostgreSQL migrations for Ruby on Rails | | 2022-02-20
  • pg-osc

    Easy CLI tool for making zero downtime schema changes and backfills in PostgreSQL

    Project mention: Changing Tires at 100mph: A Guide to Zero Downtime Migrations | | 2022-05-04

    Postgres has some less robust tooling, at least both of these carry the "experimental" tag:

    But, still, they do it for you.

  • simple_recommender

    A simple recommendation engine for Rails/Postgres

  • PgDice

    Postgres partitioning built on top of

  • template-ruby-on-rails-postgres

    A Ruby on Rails template, with Postgres, configured for Gitpod ( to give you pre-built, ephemeral development environments in the cloud.

    Project mention: online IDE | | 2022-04-13

    I've used both gitpod and codespaces and they've both worked well. Codespaces was more straightforward if you have a docker-compose setup already. With gitpod, I had to start from a postgres container and add things in but there's a template you can use here.

  • rails6template

    Rails 6 template with Ruby 3.0.0, Devise, Admin, and TailwindCSS 2, guard and live reload

  • divisionly-api

    split expenses with friends

  • 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-01-26.

Ruby Postgres related posts


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

Project Stars
1 flipper 3,150
2 Scenic 3,099
3 Que 2,163
4 ActiveRecordExtended 1,146
5 jsonb_accessor 940
6 SearchCop 776
7 zero_downtime_migrations 555
8 docker-rails-example 528
9 with_advisory_lock 525
10 pg_party 397
11 safe-pg-migrations 346
12 pg-osc 308
13 simple_recommender 120
14 PgDice 10
15 template-ruby-on-rails-postgres 9
16 rails6template 1
17 divisionly-api 1
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives