JT Book a call

Blog / Tags

ruby

104 posts tagged ruby, newest first.

rubybestpracticestutorial

TDD in Ruby: A Step-by-Step Guide

A working Ruby tutorial for TDD on a small Order class. The 90-second loop, Shameless Green, Tidy First commits, and the reset move that makes it all safe.

tddrubyproductivity

TDD Without the Overkill: Why Lightweight TDD Ships Faster

TDD looks slow on paper. The real ledger is one hour writing tests against six hours debugging next week. Here is why lightweight TDD wins.

· JetThoughts Team
tddrubyrefactoring

The TDD Refactor Step in Ruby: A 3-Line Discipline

The refactor step breaks more tests than green ever does. Cap each refactor commit at three lines of Ruby and the suite stays green every time.

· JetThoughts Team
railsrubysecurity

Rails CVE-2026-41316: Detection and Patch

CVSS 8.1 universal RCE chain through ERB::DeprecatedInstanceVariableProxy and Marshal.load. Detection, upgrade path, Rails 7.0/7.1 EOL options.

· JetThoughts
railsrubyrails-8

Rails 8.1: Subscribe to Events, Skip Logs

Rails 8.1 replaces log parsing with structured events. Wire ActiveSupport::Notifications to Datadog, New Relic, or Prometheus - no regex required.

· JetThoughts Team
railsrubyrails-8-1

Active Job Continuations in Rails 8.1

Rails 8.1's ActiveJob::Continuable resumes long jobs from their last completed step. How to wire it in, when not to, why Kamal deploys stop losing work.

· JetThoughts
railsrubyrails-8

Solid Trifecta: When to Keep Redis in Rails 8

Rails 8 defaults to Solid Cache, Solid Queue, and Solid Cable. Most apps don't need Redis anymore. Some still do. Here's how we decide which workloads stay.

· JetThoughts
rubyrailsperformance

Ruby on Rails Performance Optimization Patterns for 2026

Concrete benchmarks and patterns for Rails performance in 2026 - YJIT speedups, Rails 8 query optimization, Redis caching, and N+1 elimination.

· JetThoughts
railsrubysecurity

Rails has_secure_password With Argon2: Moving Off BCrypt

Step-by-step guide to enabling Argon2 with has_secure_password in Rails. Migrate from BCrypt with zero downtime using the Hybrid Verifier pattern in production.

· JetThoughts Team
rubylangchainrspec

Ruby LangChain Testing Guide 2025 | RSpec + WebMock

Test langchainrb code with RSpec and WebMock without calling OpenAI: stub the HTTP layer, check token counts, see which errors Faraday raises, and keep the gem from logging your API key.

Tell us what you need built

JetThoughts has been building software since 2008. Book a call, or write to sales@jetthoughts.com. You'll leave the call with a written one-page scope within 2 working days.

#01 Paul Keen
Paul KeenFounder & Open Source Contributor

A 30-minute call; pick a time.