Ruby ruby-on-rails

Open-source Ruby projects categorized as ruby-on-rails

Top 23 Ruby ruby-on-rails Projects

  • ransack

    Object-based searching.

  • Doorkeeper

    Doorkeeper is an OAuth 2 provider for Ruby on Rails / Grape.

    Project mention: Zitadel: The best of Auth0 and Keycloak combined | | 2022-05-17

    Disclosure: I work for FusionAuth.

    Depends on what you are looking for.

    If you want a standalone auth server, you can use FusionAuth in docker/docker-compose:

    You can also package up a library; most major languages have one or more OAuth/OIDC libraries: for Ruby, for Spring/Java, for PHP, for Python. has a further selection of libraries in a variety of languages.

  • Zigi

    Delete the most useless function ever: context switching.. Zigi monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack! Plus it reduces cycle time by up to 75%.

  • react-on-rails

    Integration of React + Webpack + Rails + rails/webpacker including server-side rendering of React, enabling a better developer experience and faster client performance.

    Project mention: Considering moving from NextJS to Rails | | 2022-01-30

    You should take a look at I created that repo back in 2015 and it's still going strong. uses it and we've got 5,000 restaurant chains on the Rails monolith and huge traffic and transaction volume. Check out the html source of a popmenu site, like You'll see react-on-rails in the source.

  • rails_panel

    Chrome extension for Rails development

    Project mention: Why do my requests take so much time to complete when View and ActiveRecord are finishing fast? | | 2022-07-15

    There's a few things that could be happening. I recommend trying out It gives you a better break down if exactly what's taking time. You also might look at how long it takes to actually instantiate your models. The actual query time is usually the slowest operation, but if you have a bunch of models on the page just the classes being loaded can take a good amount of time

  • Koala

    A lightweight Facebook library supporting the Graph, Marketing, and Atlas APIs, realtime updates, test users, and OAuth.

    Project mention: Facebook page automated message | | 2022-09-26

    Facebook Developers

  • Elasticsearch Rails

    Elasticsearch integrations for ActiveModel/Record and Ruby on Rails

    Project mention: Full-text Search with Elasticsearch in Rails | | 2022-08-17

    Let's add Elasticsearch into the mix. To do so, we will need the elasticsearch-model gem. It's an official Elasticsearch gem that integrates nicely with Rails models.

  • view_component

    A framework for building reusable, testable & encapsulated view components in Ruby on Rails.

    Project mention: Rails 7 + Hotwire (Turbo + Stimulus) = Modern web applications | | 2022-11-24

    tl;dr; Let’s understand how we can migrate a scaffold generated by the command ‘bin/rails g scaffold Kit::Product name:string’, to an improved and performative screen. Inserting partial load and DOM manipulation writing a very little code in VanillaJS (“almost” without to write Javascript). Scaffold (Rails 7) Getting Started with Rails ( Generating the scaffold ( Using just one command you will generate all of these files: Model, Migration, Controllers, Routes, Tests, Helpers, and JSON. $ **bin/rails generate scaffold HighScore game:string score:integer** invoke active_record create db/migrate/20190416145729_create_high_scores.rb create app/models/high_score.rb invoke test_unit create test/models/high_score_test.rb create test/fixtures/high_scores.yml invoke resource_route route resources :high_scores invoke scaffold_controller create app/controllers/high_scores_controller.rb invoke erb create app/views/high_scores create app/views/high_scores/index.html.erb create app/views/high_scores/edit.html.erb create app/views/high_scores/show.html.erb create app/views/high_scores/new.html.erb create app/views/high_scores/_form.html.erb invoke test_unit create test/controllers/high_scores_controller_test.rb create test/system/high_scores_test.rb invoke helper create app/helpers/high_scores_helper.rb invoke test_unit invoke jbuilder create app/views/high_scores/index.json.jbuilder create app/views/high_scores/show.json.jbuilder create app/views/high_scores/_high_score.json.jbuilder Enter fullscreen mode Exit fullscreen mode After installing Rails, create your project, and generate your scaffold. Let's try to improve the default interface. I am using the Tailwind to insert styles on the interfaces and the ViewComponent for “creating reusable, testable & encapsulated view components, built to integrate seamlessly with Ruby on Rails”. You could see the resulting code at Turbo (heart of Hotwire) Hotwire is an alternative approach to building modern web applications without using much JavaScript by sending HTML instead of JSON over the wire. You can see the unique application’s screen in the following image. Yes, this project has just one screen. Let’s try to be simple to focus on the most important things. In this screen, we have two dynamic areas: List of products Form to create and edit the selected product I created a PR so you can see the exact part of the code that was changed or inserted to use the Hotwire on your project. You can see this PR on The unique screen on the system has a few triggers to call actions or make requests. Plus button to access the ‘kit/products/new’ page Search input field Products links to access the product’s edit page Buttons to update, remove or create products based on the form’s fields data Using the Turbo, we can override the click event of the plus button to request the HTML of a new product form from the backend and put it in the ‘product_form’ area. You don’t need to write Javascript to override the events on your elements, just insert a new attribute ‘turbo_frame’ on your HTML tag. Like here: We can use the same approach of the plus button in the link of products and prevent reloading the entire screen HTML and assets. Now we need to use a little Javascript to insert the event ‘change’ to request a filtered list of products from the backend. In my code, I insert the ‘turbo_frame’ attribute into the form to change the submit action making the request using Turbo. In the next topic, we can see how to use the Stimulus and Javascript controllers to change the event ‘change’ of the input. Now we will need to submit the form and refresh the list of products. But we can do this better. We know that the updated list has changed on the created/updated product. So, we need to update the list with this product, instead refresh and query all the list of products from the database. To do this we need to use a lot of the Javascript code or a few actions from the Stimulus. You can see about the Javascript controller in the next topic. Stimulus (modest JavaScript framework) You won’t see any difference. But the code savings and ease of integration will help you a lot when inserting new features. The objective here is to insert an event on the search input form to make a request when the user changes the input’s value. When it occurs, the system will make a request to get all products filtered by the ‘name’ column. The result will be inserted into the list after it. To implement the Stimulus in our current project, we need to follow the following steps: 1. Insert the attribute ‘data-controller=”search-list”’ to the wrapper with the form and the list of the products (app/components/search_list_component.html.erb line 1). — This attribute is responsible to relate the following code to the DIV element. Get more info here — You can use the command ‘./bin/rails generate stimulus controllerName’ to generate the Javascript file with the class definition and import it in the ‘app/javascript/controllers/index.js’ automatically. 2. Insert the attribute ‘data-search_list_target=”inputSearch”’ to the form search field (app/components/search_list_form_component.html.erb line 2). 3. Insert the action (click->search-list#selectItem) to activate the currently selected product (app/components/search_list_item_component.rb lines 20). 4. Insert the attribute ‘search_list_target=”item”’ to each item of the product list (app/components/search_list_item_component.rb lines 21). I am using to define the view components instead to use a view or partial. Pay attention to this part I really liked having this structure in my project: rails-7-fullstack/_list.html.erb at 11a479dafa5c84a1e769721d57792f39914a1204 ·… This approach is very similar to the React components or other Javascript Frameworks. I created a PR where you can see the exact part of the code I changed or inserted to use the Stimulus on my project. You can see this PR on

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

  • theodinproject

    Main Website for The Odin Project

    Project mention: TOP changed the visual? | | 2022-07-25

    Yes, they’ve changed the layout and are still working on it too.

  • Sidekiq-Cron

    Scheduler / Cron for Sidekiq jobs

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


  • good_job

    Multithreaded, Postgres-based, ActiveJob backend for Ruby on Rails.

    Project mention: Any good resource on Postgres (especially for rails developer)? | | 2022-11-18

    DM me if you wanted to contribute practically on a highly Postgres-optimized project:

  • real-world-rails

    Real World Rails applications and their open source codebases for developers to learn from

    Project mention: Anyone know any model rails projects? | | 2022-09-06

    Most people use when they need something on a large codebase, ex: a new cop. Maybe it can be useful in your case too!

  • Karafka

    Ruby and Rails efficient Kafka processing framework

    Project mention: Event Streaming in Rails with Kafka | | 2022-06-30

    Karafka is a framework used to simplify Apache Kafka-based Ruby applications development.

  • Lol DBA

    lol_dba is a small package of rake tasks that scan your application models and displays a list of columns that probably should be indexed. Also, it can generate .sql migration scripts.

  • Goldiloader

    Just the right amount of Rails eager loading

    Project mention: Proof of Concept: auto-preloading in ActiveRecord | | 2022-10-31

    There are many gems doing this. I use this one :

  • ifme

    Free, open source mental health communication web app to share experiences with loved ones

    Project mention: How Muay Thai and Powerlifting Made Me a Better Programmer 🥊🏋️‍♀️👩🏻‍💻 – Hacktoberfest Wrap-up! | | 2022-10-27

    Similarly, I spent a significant amount of time setting up the ruby on rails project of if-me for Hacktoberfest. It was hard and I wanted to give up in the middle, but every time I wanted to quit – there was this invisible force inside me that would kick in and make me go on.

  • rails-security-checklist

    :key: Community-driven Rails Security Checklist (see our GitHub Issues for the newest checks that aren't yet in the README)

  • active-record-query-trace

    Rails plugin that logs/displays a backtrace of all SQL queries executed by Active Record

    Project mention: Weird error when trying to run tests | | 2021-12-08

    If you're not sure where the query is coming from try running with active_record_query_trace

  • open-build-service

    Build and distribute Linux packages from sources in an automatic, consistent and reproducible way #obs

    Project mention: What tools are available for maintaining a private repository? | | 2022-11-21

    You can also checkout Open Build Service

  • motion

    Reactive frontend UI components for Rails in pure Ruby (by unabridged)

  • DatabaseConsistency

    The tool to avoid various issues due to inconsistencies and inefficiencies between a database schema and application models.

    Project mention: Enhanced ActiveRecord preloading | | 2022-05-19

    Described issues may be found with DatabaseConsistency.

  • cable_ready

    Use simple commands on the server to control client browsers in real-time

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


  • Rails Performance

    Monitor performance of you Rails applications (self-hosted and free)

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


  • Sail

    Sail is a lightweight Rails engine that brings an admin panel for managing configuration settings on a live Rails app (by vinistock)

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

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 2022-11-24.

Ruby ruby-on-rails related posts


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

Project Stars
1 ransack 5,305
2 Doorkeeper 5,054
3 react-on-rails 4,924
4 rails_panel 3,707
5 Koala 3,530
6 Elasticsearch Rails 2,976
7 view_component 2,740
8 theodinproject 2,176
9 Sidekiq-Cron 1,663
10 good_job 1,573
11 real-world-rails 1,562
12 Karafka 1,537
13 Lol DBA 1,476
14 Goldiloader 1,357
15 ifme 1,341
16 rails-security-checklist 1,320
17 active-record-query-trace 871
18 open-build-service 754
19 motion 654
20 DatabaseConsistency 641
21 cable_ready 634
22 Rails Performance 604
23 Sail 510
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.