---
title: "Fixing a 10 year old mistake in Rails"
publication: "Ruby Weekly"
issue: 763
published_at: "2025-08-21"
canonical_url: "https://rubyweekly.com/issues/763"
---

Plus circuit breakers, charting, and fresh directories for every vibe. |        

#​763 — August 21, 2025 

[Read on the Web](https://rubyweekly.com/issues/763)  

Together with [![reinteractive\](https://res.cloudinary.com/cpress/image/upload/c_fill,g_auto,w_900,h_186/e_make_transparent/co_white,e_outline:9/goq5p4n0bj1gcxvxkfel.png)](https://reinteractive.com/service/code-care)   

Ruby Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/mr4ingkzdyvcq6eom8b6.jpg)](https://evilmartians.com/chronicles/circuit-breakers-and-ruby-in-2025-dont-break-your-launch)  

[Circuit Breakers and Ruby in 2025](https://evilmartians.com/chronicles/circuit-breakers-and-ruby-in-2025-dont-break-your-launch) — An introduction to the _circuit breaker_ pattern for preventing cascading failures when external services misbehave or fall over. George shows a simple implementation before highlighting [Stoplight](https://github.com/bolshakov/stoplight) as a more elegant solution, complete with monitoring and real-time controls. 

George Asfour   

[Unlocking Ractors: Generic Instance Variables](https://byroot.github.io/ruby/performance/2025/08/11/unlocking-ractors-generic-variables.html) — A look at work taking place on edge Ruby where instance variable access on core types is being streamlined, including removing a global lock, cutting overhead in Rails hot paths, and paving the way for faster, more scalable Ractors. 

Jean Boussier   [![\](https://res.cloudinary.com/cpress/image/upload/c_limit,w_480,h_480,q_auto/copm/55e0161a.png)](https://reinteractive.com/service/code-care) 

[🔴 Seamless Rails Upgrades: Fixed Price Maintenance](https://reinteractive.com/service/code-care) — Upgrading RoR can be daunting. Outdated gems, breaking changes, & limited resources often hinder smooth transitions. We offer expert Rails maintenance at a fixed monthly price, your application remains secure, performant, minimal business disruptions. 

reinteractive / CodeCare sponsor   

**IN BRIEF:** 

- Proving that there's always low-hanging performance-gaining fruit to be found, Jean Boussier has just [found and removed a 10 year old mistake in Rails](https://github.com/rails/rails/pull/55467) that was impeding ERB rendering performance.
- Gift Egwuenu presents [the latest monthly RubyGems updates roundup.](https://blog.rubygems.org/2025/08/21/july-rubygems-updates.html) She covers [Bundler 2.7](https://bundler.io/blog/2025/07/17/bundler-v2-7.html) and [RubyGems 3.7](https://blog.rubygems.org/2025/07/16/3.7.0-released.html), as well as [a new private beta for 'organizations'](https://guides.rubygems.org/organizations/getting-started/) to allow teams to collaborate on multiple gems more easily.
- [Rails v7.1.5.2, v7.2.2.2, and v8.0.2.1](https://rubyonrails.org/2025/8/13/Rails-Versions-8-0-2-1-7-2-2-2-and-7-1-5-2-have-been-released) have been released.
- 🔐 Greg Molnar takes a quick look at [how two recently published vulnerabilities in Rails](https://greg.molnar.io/blog/rails-cve-2025-55193-and-cve-2025-24293/) could actually be taken advantage of.
- 🚶 Enjoy walking? [Ruby on Trails](https://jeremysmithco.notion.site/Ruby-on-Trails-4c4359213dc54040820fb87202b8d71e) is a hike in the Appalachians for Rubyists, taking place this September.   

[Apple Wallet Passes in Rails Apps](https://avohq.io/blog/apple-wallet-passes-in-rails-apps) — How to add Apple Wallet Pass generation to a Rails app using the [Passkit gem.](https://github.com/coorasse/passkit) 

Exequiel Rozas   

[💸 Paying Interest on Tech Debt? Let’s Start Chipping Away — Monthly](https://go.fastruby.io/chip-away) — Bonsai provides fixed-cost upgrades for teams who need to progress but can’t pause everything to do it on their own.⛏️ 

🌳 Bonsai by FastRuby.io sponsor   

📄 [Marshal Madness: A Brief History of Ruby Deserialization Exploits](https://blog.trailofbits.com/2025/08/20/marshal-madness-a-brief-history-of-ruby-deserialization-exploits/) Matt Schwager 

📄 [How to Extend Active Storage with Custom Previewers](https://blog.appsignal.com/2025/08/13/extend-activestorage-for-ruby-on-rails-with-custom-previewers.html) – Your blobs might be images, audio, video, PDFs, etc. and ‘previewers’ provide the mechanism for giving end users a quick look at them. Julian Rubisch 

📺 [From FTP to Kamal: 20 Years of Deploying Rails](https://www.youtube.com/watch?v=Rf8K9bk5DTU) Ben Curtis 

📄 [Organizing Mailer Templates with `prepend_view_path` in Rails](https://www.dotruby.com/articles/organizing-mailer-templates-with-prepend-view-path-in-rails) Daniel Schoppmann 

📄 [User-Specific Content in Turbo Stream Partials](https://railsdesigner.com/user-content-turbo-streams/) Rails Designer  

🛠 Code & Tools 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/te1udjhv3pncrlqfi2yb.jpg)](https://github.com/railsjazz/rails_charts)  

📊 [Rails Charts: Apache ECharts-Powered Charting for Rails](https://github.com/railsjazz/rails_charts) — [Apache ECharts](https://echarts.apache.org/en/index.html) is one of the most complete and powerful JavaScript charting libraries and this library brings its powers to your Rails apps by way of a variety of helpers. 

RailsJazz   

[Try: 'Fresh Directories for Every Vibe'](https://github.com/tobi/try) — The CEO of Shopify drops in with a Ruby powered tool aimed at anyone who’s ever been overwhelmed after creating lots of directories for various small experiments. _Try_ makes it easier to navigate the mess. 

Tobias Lütke   

[🦡 Small, Fierce, and Focused on Ruby Devs](https://www.honeybadger.io/about/?utm_source=rubyweekly&utm_medium=email&utm_campaign=2025-08-21-rubyweekly-link) — Ruby monitoring for devs building and supporting great web apps in production – just like us. [Meet the 'Badgers!](https://www.honeybadger.io/about/?utm_source=rubyweekly&utm_medium=email&utm_campaign=2025-08-21-rubyweekly-link) 

Honeybadger sponsor   

📱 [37signals Introduces _Action Native Push_](https://dev.37signals.com/introducing-action-native-push/) — As a part of their cloud exit, 37Signals created Active Native Push to replace AWS SNS and Pinpoint. It connects to Google’s and Apple’s push services, supports sending notifications to multiple apps, retries, and similar features you’d expect. 

Jacopo Beschi (37Signals)   

[OasGrape: Open API Specification for Grape](https://github.com/a-chacon/oas_grape) — Tool to generate automatic interactive documentation for [Grape](https://github.com/ruby-grape/grape) APIs. 

Andres Chacon   

[Dentaku: Math and Logic Formula Parser and Evaluator](https://github.com/rubysolo/dentaku) — Allows run-time binding of values to variables referenced in user supplied formulas. Intended to safely evaluate untrusted expressions. 

Solomon White   

- [Ruby JSON Schema Validator 6.0](https://github.com/voxpupuli/json-schema) – Validate JSON objects against a schema.
- [Cucumber 10.1](https://github.com/cucumber/cucumber-ruby) – The long-standing tool for running automated tests written in natural language.
- [Raif 1.3](https://github.com/CultivateLabs/raif) – An AI framework in a Rails engine. Add features like tasks, conversations, and agents to Rails apps.
- [FerrumPdf 2.1](https://github.com/excid3/ferrum_pdf) – PDF generator for Rails using Ferrum + headless Chrome.
- [Herb 0.5](https://github.com/marcoroth/herb/releases/tag/v0.5.0) – Powerful suite of ERB parsing tools and libraries.
- [Discourse 3.5](https://blog.discourse.org/2025/08/unboxing-discourse-3-5/) – Fully-featured Rails-powered forum system.
- 🤖 [Ruby OpenAI 8.2](https://github.com/alexrudall/ruby-openai/releases/tag/v8.2.0) – Use OpenAI's APIs from Ruby.
- [Gemsmith 23.6](https://github.com/bkuhlmann/gemsmith) – CLI tool for smithing Ruby gems.
- [JRuby 10.0.2](https://www.jruby.org/2025/08/07/jruby-10-0-2-0.html) – JVM-based Ruby implementation.
- [Pagy 9.4](https://github.com/ddnexus/pagy) – Popular Ruby pagination library.
- [Excon 1.3](https://github.com/excon/excon) – Fast, simple HTTP/1.1 client.       

📰 Classifieds   

📈 [If your Rails team needs a little boost...](https://sinaptia.dev/services/staff-augmentation) SINAPTIA can augment your team with devs to help you increase your productivity. [Test us!](https://sinaptia.dev/contact-us) 

--- 

📈 Think Redis is fast? It just got even faster. Redis 8.2 speeds up your data 91% compared to Redis 7.2. [Try it for free today](https://redis.io/lp/get-started2/?utm_source=cooper-press&utm_medium=cpa&utm_campaign=2025-08-app_performance-ruby-weekly-1&utm_content=cloud_-_redis_cloud_users).    

📢 Elsewhere  

A roundup of some other interesting stories from across the broader landscape, in case you've missed them: 

- [GitHub's CEO, Thomas Dohmke, has stood down](https://github.blog/news-insights/company-news/goodbye-github/) and with it, GitHub has been rolled into Microsoft's 'CoreAI' organization more completely.
- [Redis 8.2,](https://redis.io/blog/redis-82-ga/) the latest version of the popular data structure store/database, has been released. Over 70 commands now run faster than in Redis 8.0 and I/O threads now enable significant concurrent performance gains. Some neat memory usage reductions feature too.]
- Git 2.51 was just released and [GitHub shares some highlights of the release.](https://github.blog/open-source/git/highlights-from-git-2-51/)
- [D2](https://d2lang.com/) is a declarative diagramming system built in Go that turns text-based specifications into diagrams. Its latest version now supports [outputting ASCII diagrams](https://d2lang.com/blog/ascii/)too.
- [jQuery 4.0 RC 1](https://blog.jquery.com/2025/08/11/jquery-4-0-0-release-candidate-1/) has been released!         

Curated by [Peter Cooper](https://twitter.com/cooperx86) and [Glenn Goodrich](https://twitter.com/ruprict).
Published by [Cooperpress](https://cooperpress.com/). 

[Change your email](https://rubyweekly.com/edit_subscription/*|UID|*) or [Stop getting this newsletter.](https://rubyweekly.com/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom 

Other weekly newsletters we publish include [Postgres Weekly](https://postgresweekly.com/), [React Status](https://react.statuscode.com/), [Frontend Focus](https://frontendfoc.us/), and [JavaScript Weekly](https://javascriptweekly.com/).
