All Articles
122 articles on upgrading Ruby, Rails, and managing dependencies
Setting Up Foreman and Procfile.dev for Rails and Vite
Learn how to manage multiple development processes in a modern Ruby on Rails application with Vite for frontend tooling using Foreman and a Procfile.dev.
Squashing PRs vs. Small Commits: Best Git Practices for Rails Upgrades
A guide to the trade-offs between squashing pull requests and preserving a granular history of small, atomic commits during a Ruby on Rails application upgrade.
Step-by-Step Guide to Safely Upgrading Ruby in a Dockerized Rails App
A pragmatic, battle-tested workflow for engineering teams to safely upgrade Ruby in Dockerized Rails applications.
The Faster vs. Safer Approach to Dual-Booting Legacy Rails Apps
A guide to the trade-offs between speed and safety when implementing a dual-booting strategy for a legacy Ruby on Rails application upgrade.
The Impact of the Global Interpreter Lock (GIL) on Upgrading to Ruby 3.3
Understand how Ruby 3.3's M:N threading and VM optimizations interact with the GIL to impact performance during upgrades.
Time to Migrate from Heroku: Evaluating Render, Fly.io, and Railway for Rails
An engineering leader's guide to the Heroku platform transition, comparing Render, Fly.io, and Railway as modern PaaS alternatives for Ruby on Rails applications.
Transitioning a Monolithic Rails App to Docker and AWS ECS/Fargate
A comprehensive guide for engineering leaders on containerizing large and complex Ruby on Rails applications using Docker and AWS ECS/Fargate.
Tuning Your AWS Cloud Infrastructure After a Rails 7 Upgrade
A battle-tested workflow for optimizing AWS infrastructure, reducing cloud costs, and improving performance after upgrading to Rails 7.
Understanding Ruby Method Lookup Performance in Ruby 3.x
An in-depth analysis of how method lookups have evolved and perform in Ruby 3.x, exploring optimizations like Object Shapes and YJIT and their impact on performance.
Updating Your Redis Infrastructure When Migrating Off Heroku
When engineering teams migrate large and complex applications off Heroku, the relational database often receives the most attention. Moving from Heroku Postgres to a solution like AWS RDS requires careful planning, but migrating your Redis infrastructure carries its own set of critical risks.
Upgrading from Ruby 2.7 to 3.2 Keyword Arguments
A pragmatic workflow for addressing the keyword argument separation when performing a Ruby upgrade from 2.7 to 3.2.
Upgrading Ruby and Rails: Best Practices and Pitfalls
A comprehensive guide to upgrading Ruby and Rails applications, covering best practices, common pitfalls, and security considerations.
A Guide to Upgrading Gems and Dependencies in Ruby
Learn how to manage Gemfile updates safely.
Fix Broken CI Builds from Rails 7.1 Deprecation Warnings
How to fix broken CI builds caused by Rails 7.1 deprecation warnings.
CWE-78 Command Injection in Rails: Securely Handling External Commands
A comprehensive guide to understanding and preventing command injection (CWE-78) vulnerabilities in Ruby on Rails applications.
SQL Injection in Rails: Understanding and Preventing CWE-89
A comprehensive guide to understanding and preventing SQL injection (CWE-89) vulnerabilities in Ruby on Rails applications.
Upgrading Ruby Syntax: Moving from Hash Rockets to Modern Keyword Syntax
A pragmatic approach to modernizing Ruby codebases, replacing legacy hash rocket syntax with concise keyword syntax.
CWE-916: Using Potentially Dangerous Functions in Rails
A security overview of CWE-916, focusing on the use of potentially dangerous functions in Ruby on Rails applications and how to mitigate risks.
Lazy-Loading Frontend Components in a Rails Inertia.js Architecture
How to implement code splitting and lazy loading in a Ruby on Rails application using Inertia.js to improve frontend performance.
Setting Up Log Aggregation with Datadog or New Relic After a Heroku Migration
A pragmatic engineering guide to replacing Heroku Logplex with Datadog or New Relic for Ruby on Rails applications.
Sponsored by Durable Programming
Need help maintaining or upgrading your Ruby on Rails application? Durable Programming specializes in keeping Rails apps secure, performant, and up-to-date.
Hire Durable Programming