560 blogs tracked4,950 posts indexed

Rails

We track 31 posts about Rails from 10 engineering blogs. Most active: Evil Martians, Jake Yesbeck, Hashrocket. Latest post: Oct 7, 2026.

Raw tag behind this topic:rails

Companies writing about Rails

Recent posts

  • Don't bet on SELECT's order: shuffle your rows and see what folds (opens on the source site)

    Evil Martians ·

    Authors: Yaroslav Kurbatov, Backend Engineer, and Travis Turner, Tech Editor Topics: DX, Rails, PostgreSQL, Ruby, Python, Continuous Integration PostgreSQL does not guarantee row order without ORDER BY. Use Rails 8.2 or pg_disorder to shuffle unordered SELECT results and expose hidden order dependencies, flaky tests, and application bugs. This is chaos engineering directed at your database. SELECT * FROM posts carries no promise about the order of the returned posts. Yet, every relational database hands them back in some order, and code and tests start depending on that order. You can't grep…

  • SF Ruby Conference: regular ticket prices end September 30 (opens on the source site)

    Evil Martians ·

    Authors: Camila Mirabal, Tech writer, and Travis Turner, Tech Editor Topics: Developer Community, Rails, AI Regular SF Ruby Conference tickets are $450 through September 30. Meet Ruby friends, play The Pier, join small-group conversations, and explore the 2026 program in San Francisco. Not a single person in the Ruby community has told us they go to conferences for anything other than meeting new people and catching up with old friends. Our community needs that shared warmth and joy more than ever. But going to a conference alone can be intimidating. You walk into a room full of people you…

  • TERAZ - live collective ambient experience made with Rails & Tone.js (opens on the source site)

    Arkency ·

    TERAZ - live collective ambient experience made with Rails & Tone.js The first time TERAZ actually worked, there were around seventy phones in the audience at the wroclove.rb conference. Before pressing start, I was still not completely sure what would happen. Local tests are one thing. Seventy people with their own phones, batteries, browsers, volume settings, operating systems, and expectations are another. I was standing at my laptop, looking at a grid of rectangles on the screen, slowly bringing the instruments in. Each rectangle was one person from the audience. Each phone had been…

  • Rails Hyperdrive: supercharged agentic development for Rails (opens on the source site)

    Evil Martians ·

    Introducing Rails Hyperdrive: a development-only Rails engine that gives AI coding agents live answers from your booted app and lets any gem in your bundle ship guidance gated to your Gemfile. Convention over configuration, applied to agent knowledge.

  • Announcing importmap-update: automated dependency updates for importmap-rails (opens on the source site)

    Thoughtbot ·

    Dependabot keeps your gems current, but it doesn't know about the JavaScript packages pinned in your Rails importmap. We're releasing a GitHub Action that opens pull requests for the ones that are outdated or vulnerable.

  • Why Gusto hired Evil Martians for Sidekiq infrastructure (opens on the source site)

    Evil Martians ·

    Gusto runs payroll for 500,000+ businesses on one of the largest Rails monoliths anywhere. Why a team this strong hired Evil Martians for Sidekiq at scale, what running background jobs at that size actually takes, and when to stop waiting for the perfect hire.

  • Why engineers should come to the SF Ruby Conference in 2026 (opens on the source site)

    Evil Martians ·

    SF Ruby is an engineers' conference: meet the people building Ruby open source, scaling Rails in production, and shaping what agentic Rails looks like next.

  • Why engineers should come to the SF Ruby Startup Conference in 2026 (opens on the source site)

    Evil Martians ·

    The SF Ruby Startup Conference is an engineers' conference: meet the people building Ruby open source, scaling Rails in production, and shaping what agentic Rails looks like next.

  • Access control for AI agents on Rails: gating SQL with Action Policy (opens on the source site)

    Evil Martians ·

    Our Rails AI assistant had read-only SQL access and could still return peer review scores. Learn how we kept open-ended analytics in an in-app AI assistant while making database access honor application permissions.

  • Get in, human: cut Rails boot time with require-profiler and this guide (opens on the source site)

    Evil Martians ·

    Rails boot time is a DX metric in the AI age: meet require-profiler, learn to actually read sampling profilers, and see the pit stop that cut a 200-component monolith's boot by 40%.

  • Fair by design: orchestrating background jobs in Ruby (opens on the source site)

    Evil Martians ·

    Are you treating your users fairly? They could be stuck in the queue while a greedy user monopolizes resources. And you might not even know it! In this post, you’ll see if it’s time for you to take background job prioritization seriously, and how to make it fair for all users.

  • 3 example process managers in Rails (opens on the source site)

    Arkency ·

    3 example process managers in Rails I am writing this blogpost from this beautiful place in the Polish mountains. Our RailsEventStore camp takes place this week. Process managers are meant to map business process into code. The more readable and declarative it is, the better the chance domain experts will understand it. Over the last years, we have experimented with several approaches on how to implement process managers in Ruby. The foundation here is RailsEventStore and the architecture where events are published and commands are used to tell what to do next. Most business processes can be…

  • The joy of Inertia Rails: painting your own with 50 happy little lines (opens on the source site)

    Evil Martians ·

    Inertia is Turbolinks with one twist: render JSON instead of HTML on the second visit. We rebuild the whole protocol on a real Rails app with a 50-line client and a 16-line server, then audit what the real gem adds on top.

  • Spec-tacular: ways to think about writing expressive RSpec (opens on the source site)

    FreeAgent ·

    Using RSpec's functionality expressively helps to draw focus to the right parts of a test, but it's not always easy to understand how best to use it.

  • 2 Martians, greenfield to MVP in 4 weeks: agentic coding on Rails (opens on the source site)

    Evil Martians ·

    A designer and an engineer shipped a production MVP in four weeks on Rails + Inertia. In this post, we share our agentic coding stack, the skills we built, and why it clicked.

  • Rails Security, AI, and IBB (opens on the source site)

    Aaron Patterson ·

    For quite a few years the Rails project has been working with the Internet Bug Bounty (IBB). The IBB is an organization that awarded cash to security researchers that reported issues to OSS projects participating in the IBB. For quite a while I wasn’t certain about my feelings toward the program because I felt like cash rewards could incentivize low quality reports as well as encourage reporters to “haggle” about the severity of a particular bug (the IBB paid more when the bug was more severe). In the beginning that certainly was the case. We were fielding many low quality reports, and people…

  • Building a (Very) Simple Responsive Search with Rails & Stimulus (opens on the source site)

    Hashrocket ·

    Here's a simple and responsive search form I put together for a recent side project, using Hotwire's Stimulus framework and Rails with Turbo. The Form Here's how the search input looks. It's a simple search form connected to a Stimulus controller. The input triggers the search function upon every input event. The debounce logic occurs in the Stimulus controller to make sure not too many requests are made to the server: form_with url: items_path, method: :get, data: { controller: "search", turbo_frame: "items_list" } do |f| %> f.text_field :query, placeholder: "Search...", data: {…

  • Creating a Custom Mobile Integration for a Board Game Using Ruby on Rails (opens on the source site)

    Hashrocket ·

    Picture this: you find a charming old board game at a garage sale, bring it home, gather some friends—and snap. The 50-year-old plastic components break instantly. You search the web for help to replace this fun and unique game mechanic but there’s nothing to be found. So naturally, you roll up your sleeves and build your own mobile version. No one else does this? Just me? Well, in case you ever find yourself in a similar boat, I figured I would walk you through what I did when building my own mobile integration to the 1973 Parker Brothers classic Billionare. As I said, right when I went to…

  • How To Rev Up Your Rails Development with MCP (opens on the source site)

    Hashrocket ·

    Shipping new features on legacy Rails applications requires deep codebase context. The rails-mcp-server gem closes the gap between AI agents and your Rails projects, enabling more relevant code analysis and context aware refactoring suggestions. Whether you're dealing with tech debt in a brownfield application or building new greenfield features, this tool can help you move faster with confidence. The Model Context Protocol (MCP) is a way to allow LLM models to interact with development environments and external tools. The rails-mcp-server gem is a Ruby implementation that enables LLMs to…

  • Speed Up Your Rails App by Squashing N+1 Queries (opens on the source site)

    Hashrocket ·

    N+1 queries are one of the most common performance killers in Rails apps, but also one of the easiest to fix. In this post, we'll see how a single line of code can reduce 1,101 database queries down to 3. N+1s occur in rails when you have associated ActiveRecord models, and iterate over one model while accessing fields on the associated records. This might be easier to explain with an example. Let's say you have the following ActiveRecord models: class Author ApplicationRecord has_many :posts end class Post ApplicationRecord belongs_to :author has_many :tags end class Tag ApplicationRecord…

  • Some Thoughts About Claude Code (opens on the source site)

    Hashrocket ·

    Claude code is a powerful AI toolset that runs right in your terminal. While providing a lot of impressive utility, it also suffers from the issues that arise from similar AI toolings with the addition of an expensive pricing model. Context is Important To me, the main selling point for Claude Code is its ability to read through your entire codebase; a big shortcoming of many AI workflows is the model only partially understanding an issue due to it not having enough of the project's context and convention to be effective. Claude Code has the ability to access all of the files in the directory…

  • Tropical.rb Conference and Rails Girls São Paulo (opens on the source site)

    Doximity ·

    On April 4th and 5th, 2024, Doximity sponsored Tropical.rb, also known as "The Latin America Rails Conference," in São Paulo, Brazil. This event gathered developers from across Latin America and beyond. It served as a dynamic platform for discussing Ruby on Rails, sharing knowledge, and networking among professionals in the field. The Doximity team at Tropical.rb Doximity has utilized Ruby on Rails since its founding, attributing significant success to the framework. The timing of the recent conference coincided with a resurgence in Rails' popularity, marked by new features and increased…

  • Modularizing Rails Monoliths One Bite at a Time (opens on the source site)

    Doximity ·

    As Rails monoliths grow, coupling becomes increasingly difficult to manage. Developers often reach for microservices to help simplify things, but instead find higher complexity. The Modular Monolith approach is a proven, lightweight alternative that offers the benefits of enforced boundaries without being cumbersome. I spoke at the 2023 Rocky Mountain Ruby conference on how teams can use a phased approach to refactoring toward this style using the packwerk gem. At Doximity, we've used this gem and a phased approach to break some of our most critical rails applications into modules that are…

  • 5 SRE tips for Rails workloads in Kubernetes (opens on the source site)

    Doximity ·

    In a previous post we shared some suggestions for how to adjust a Rails application to make it run better in a containerized setting. In this post I'd like to explore the opposite relationship: five changes we have made to our Kubernetes clusters to better accommodate Rails workloads and workflows. All of these ideas can be relevant to non-Rails apps too! Selecting the right deployment strategies The two deployment strategies Kubernetes offers out of the box are RollingUpdate or Recreate. Initially we selected RollingUpdate for all of our workloads; with this strategy some new pods are…

  • Why You Should Avoid Models in Rails Migrations (opens on the source site)

    Jake Yesbeck ·

    Humble Beginnings A simple Rails application exists with two models, Books and Authors. class Book ApplicationRecord belongs_to :author end class Author ApplicationRecord has_many :books end After some domestic success, this simple Rails app goes international. A new column is required on the books table: country to denote which country published the Book. A Reasonable Migration To preserve data integrity, the country column should not allow null since null isn’t a country. Existing books also need to have a country set. This is all accomplished within a single migration in 3 steps: Add a…

  • How I Made $220,033.50 Self-Publishing a Book About Ruby on Rails (opens on the source site)

    Nate Berkopec ·

    Did I mention how awesome it is to live 30 minutes from a ski lift? In March of 2016, I launched a course called The Complete Guide to Rails Performance. Since then, I have distributed just over 1800 copies, for a gross revenue of $220,033.50 (about $1000/week). Although I launched the course in March, I had worked on it for about 4 months. Releasing the course has been a lifechanging event for me. For the first time ever, I made more money over a year from product revenue rather than service revenue. Releasing the course nearly doubled my usual freelancing rate, allowed me to change my…

  • How to Diagnose Ruby on Rails N + 1 Query Problems (opens on the source site)

    Jake Yesbeck ·

    Diagnosing performance problems in a production Ruby on Rails application can be deceptively complex. When constructing a new application or expanding the features of an existing one, development environments that are not subject to typical production web traffic may not make performance issues evident. In those instances, the use of some simple (and mostly free) tools can help diagnose performance issues in production. If an application is hosted on Heroku, the New Relic add-on can be added to the application for free. Despite it having a few limitations, the free version of New Relic can be…

  • How to Build a Ruby on Rails Engine (opens on the source site)

    Jake Yesbeck ·

    Ruby on Rails Engines are miniature applications whose purpose is to supplement a larger Ruby on Rails application. If functionality can exist independent from a main application, an Engine can provide a wonderful degree of encapsulation. Recently, I created the and “gemified” the Passages Ruby on Rails Engine to help alleviate some routing frustration. This gem will be the be used as the example for demonstrating what goes into creating a Ruby on Rails Engine. Revving Up There are two ways to start building an Engine. One option is to use the built in generators to create directories and…

  • How to Remove a Column with Zero Downtime in Ruby on Rails (opens on the source site)

    Jake Yesbeck ·

    For a production Ruby on Rails application, uptime is paramount. Altering the structure of an application’s persistence layer is an operation that competes directly with uptime. Specifically, removing a table column within a relational database causes issues with the ActiveRecord ORM (the default relational mapping within a Ruby on Rails application). However, this particular pain point has been removed as of Ruby on Rails 4.0.0, saving developers a lot of headache and greatly reducing the need for structural change coordination. Old and Busted To demonstrate the problem, a simple Ruby on…

  • Passages Rails Engine (opens on the source site)

    Jake Yesbeck ·

    Routing in the Ruby on Rails world can, at times, be a tad confusing. The official Rails guide is very helpful for the basics; but, as an application grows, it can become hard to remember specific details about every single route. Existing Routing Tools To remedy the issue of route complexity, a few helpful tools already exist. The most useful one is rake routes, which can be executed in the working directory of a Rails application. This tool requires that the application be on the developer’s local system, which is fine for applications that a developer owns, but what about services that the…

Related topics

This page is generated automatically from the engineering blogs we follow. Every post links to its source, where it was published. See all sources.

Privacy choices

Reading never requires analytics. These choices last 90 days on this browser.

Essential sign-in and security storage always stays on. Read the privacy notice.