All Articles
122 articles on upgrading Ruby, Rails, and managing dependencies
Optimizing Passenger and Nginx for Rails 8
A guide to practical strategies for optimizing Passenger and Nginx specifically for a Rails 8 architecture.
Patching the PostgreSQL DoS Vulnerability (CVE-2022-44566) in Active Record
A deep dive into CVE-2022-44566, a Denial of Service vulnerability in Active Record's PostgreSQL adapter, with step-by-step instructions to patch your Rails application.
PCI DSS Compliance: Why Your Rails 5.2 App Will Fail Its Next Audit
An in-depth look at why running End-of-Life (EOL) Ruby on Rails 5.2 guarantees a failed PCI DSS audit, how auditors detect vulnerabilities, and the path to remediation.
Preparing for Ruby 3.4: New Features and Syntax Changes to Expect
A technical deep dive into the features, performance enhancements, and syntax changes coming in Ruby 3.4, including the Prism parser, YJIT improvements, and frozen string literals.
Prioritizing Customer Wellbeing and System Stability During Major App Upgrades
Discover practical strategies for maintaining system stability and customer wellbeing during major Ruby on Rails app upgrades.
Rails 4 Transition: From Dynamic Finders to Explicit Query Methods
Understanding the deprecation of find_by_* and find_or_*_by_* dynamic finders in favor of explicit query methods like find_by and find_or_create_by.
Rails 4 Transition: From *_filter to *_action Callbacks
Understanding the Rails 4 rename from before_filter, after_filter, and around_filter to before_action, after_action, and around_action.
Rails Transition: From RAILS_ENV to Rails.env and Environment Predicates
Learn how Rails evolved from using the RAILS_ENV constant to Rails.env with convenient predicate methods, and how to modernize your legacy codebase.
Reducing Largest Contentful Paint (LCP) Times in Server-Rendered Rails Views
Learn practical techniques to diagnose and fix poor Largest Contentful Paint (LCP) times in server-rendered Ruby on Rails applications.
Reducing P95 Response Times in Rails via Database Table Partitioning
Learn how to improve Rails scalability, reduce p95 response times, and resolve database bottlenecks with PostgreSQL table partitioning.
Replacing Devise with Rails 8.0 Built-In Authentication: A Step-by-Step Guide
Learn how to reduce technical debt and migrate your Ruby on Rails application from Devise to the built-in authentication system in Rails 8.0.
Replacing Heavy React SPAs with Inertia.js and Svelte in Rails Apps
Learn how to reduce complexity and improve maintainability by migrating from a separated React SPA to a monolith using Inertia.js and Svelte in Rails.
Resolving Compatibility Issues with C Extensions When Upgrading Ruby
A guide to troubleshooting and resolving common compatibility issues with C extensions when upgrading your Ruby version.
Resolving Rails 8 Encrypted Secrets Deprecations
A practical guide to migrating from Rails encrypted secrets to credentials, resolving the encrypted secrets deprecation in Rails 8.
Resolving Flaky Tests Caused by Hardcoded Directories in Rails CI
Learn how to diagnose and fix Minitest race conditions and broken CI builds caused by hardcoded file paths in parallelized Rails test suites.
Resolving ReDoS Vulnerabilities (CVE-2023-22792) in Outdated Rails Apps
A guide to identifying and mitigating the ReDoS vulnerability (CVE-2023-22792) in outdated Ruby on Rails applications.
Ruby Memory Allocations: How Upgrading Reduces Cloud Infrastructure Costs
Discover how upgrading your Ruby version reduces memory allocations, leading to significant savings on cloud infrastructure costs.
Ruby Upgrade Guide
Step-by-step instructions on keeping your Ruby version up to date.
Securing Your Gemfile: How to Use Bundler Checksums to Prevent Supply Chain Attacks
A guide to using Bundler checksums to secure your Gemfile and prevent supply chain attacks in your Ruby on Rails application.
Session Fixation in Rails: Securing User Sessions
Learn how to prevent CWE-384, a session fixation vulnerability, in your Ruby on Rails applications by properly managing user sessions.
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