All Articles
122 articles on upgrading Ruby, Rails, and managing dependencies
How to Identify and Eliminate N+1 Queries Before a Major Rails Upgrade
Learn how to detect and fix N+1 query performance issues in your Ruby on Rails application to ensure a smooth and performant major framework upgrade.
How to Optimize Your GitHub Actions CI Pipeline for Rails Upgrades
A guide to structuring and accelerating your GitHub Actions CI pipeline for Ruby on Rails upgrades.
How to Type-Check Your Svelte Components Against Rails JSON APIs
A practical guide to bridging the type gap between a Ruby on Rails backend and a Svelte frontend using TypeScript.
How to Use Bundler Audit to Catch Vulnerabilities During CI/CD
A guide to using Bundler Audit to automatically detect and prevent security vulnerabilities in your Ruby on Rails application by integrating it into your CI/CD pipeline.
How to Use Sentry and Honeybadger to Monitor Errors During a Rails Upgrade
A guide to using Sentry and Honeybadger for effective error monitoring and risk management when upgrading a large Ruby on Rails application.
Identifying and Remediating Technical Debt Hotspots Before a Rails Upgrade
Learn how to stabilize your Ruby on Rails application before a major upgrade by identifying and remediating technical debt hotspots using tools like churn and skunk.
Identifying Typosquatting and Brandjacking Risks in Outdated Ruby Gems
Learn how to identify and mitigate typosquatting and brandjacking supply chain attacks in outdated Ruby and Rails applications.
Implementing Redis Caching to Alleviate Database Load in Legacy Rails Apps
A pragmatic guide to reducing database load and improving p95 response times in legacy Rails apps using Redis caching.
Implementing Virtual Scrolling in Svelte for Heavy Rails Data Tables
Master frontend performance by implementing virtual scrolling in Svelte to efficiently render massive data tables in Ruby on Rails applications.
Improper Access Control in Rails: Preventing IDOR Vulnerabilities (CWE-284)
A guide to understanding and preventing Improper Access Control (IDOR) vulnerabilities (CWE-284) in Ruby on Rails applications.
Improving Frontend Security with Strict Content Security Policies in Rails 8
Learn how to mitigate Cross-Site Scripting (XSS) and meet compliance requirements using nonce-based Strict Content Security Policies (CSP) in Rails 8.
Insecure Direct Object References (IDOR) in Rails: Proper Authorization Checks
A guide to understanding and preventing Insecure Direct Object References (IDOR) in Ruby on Rails applications with proper authorization checks.
Migrating from Paperclip to ActiveStorage in Legacy Rails Applications
A battle-tested workflow for executing a Paperclip to ActiveStorage migration in legacy Rails applications without disrupting ongoing operations.
Migrating from Test::Unit to Minitest for Faster CI Pipelines
Learn how to optimize your Ruby on Rails test suite speed by migrating from Test::Unit to Minitest and leveraging modern parallelization to reduce CI bottlenecks.
Migrating from Webpacker to Vite on Rails
A comprehensive guide to replacing Webpacker with Vite in your Ruby on Rails application for faster frontend builds and Hot Module Replacement.
Migrating Legacy jQuery Code to Lightweight Svelte Components
Learn how to pragmatically modernize legacy jQuery codebases in Ruby on Rails applications by incrementally migrating to lightweight, compiled Svelte components.
Monitoring Production Metrics Before and After a Major Ruby Version Bump
A practical guide to measuring the performance, memory usage, and stability impact of a Ruby upgrade in production.
Moving from Sprockets to a Modern Frontend
A practical guide to migrating a Rails app from Sprockets to modern frontend options like Import Maps, jsbundling-rails, or Vite.
Optimizing Active Record Memory Usage in Large Rails Background Jobs
A guide to optimizing Active Record memory usage in large Rails background jobs to prevent memory bloat and reduce cloud hosting costs.
Optimizing Frontend Assets with ESBuild and Rollup in Vite Rails
Learn how to optimize frontend asset compilation and delivery in Ruby on Rails applications using Vite with ESBuild and Rollup for improved performance.
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