#​737 — February 6, 2025

Read on the Web

🙏 I wouldn't usually say 'please read this issue' but this is one of the most densely packed ones in a while. There's a real buzz around the Ruby ecosystem right now as demonstrated by the great articles and projects coming out every day. Long may it last!
__
Peter Cooper, your editor

Together with  FastRuby.io

Ruby Weekly

Ruby on Rails on WebAssembly: The Full-Stack In-Browser Journey — This post takes DHH’s famous “build a blog in 15 minutes” tutorial and embeds it in the browser using WebAssembly. While this is a bit of a parlor trick, it shows the possibilities of WASM. The author goes on to show how the magic happens and points out more practical and exciting use cases.

Vladimir Dementyev

Ruby 'Thread Contention' is Simply GVL Queuing — We’ve enjoyed a great run of articles on the depths of Ruby’s implementation recently and it continues with this look at how threads wait politely for their time to shine, thanks to Ruby’s GVL (Global VM Lock). But all this politeness has a downside.. so you may have to get involved and tune things a bit.

Ben Sheldon

🚀 FastRuby.io Makes Your Rails Upgrade Delightfully BoringFastRuby.io ’s monthly maintenance services keep security and uptime high & costs low (starting at $4,000/month). The team behind RailsBump.org offers gradual, 0-downtime upgrades — making technical debt remediation feel delightfully boring.

Bonsai by FastRuby.io sponsor

IN BRIEF:

Inserting One New Element into Hashes of Varying Sizes — An experiment from Pat’s work on updating Ruby Under a Microscope shows how performance can spike on specific insertions into a hash. It’s explained well and is a detail worth knowing.

Pat Shaughnessy

📊 Benchmarking Caching in Rails with Redis vs Alternatives — There are now many ways to speed up caching in Rails. This benchmark includes open-source options, SolidCache with Postgres, and a couple of SQLite options. The results may surprise you.

Sandip Mane (BigBinary Blog)

How to Avoid Problems with Turbo Morphing — The most significant feature of Turbo 8 isn’t without its issues. Here, Radan examines three common Turbo ‘gotchas’ and how to solve them so you don’t morph into a frustrated developer.

Radan Skorić

Is Heroku Still Worth It in 2025? 💸 — You might want to give this guide a read — we took a tour through PaaS alley and found some worthy (💵) alternatives.

Judoscale sponsor

📄 Setting Up Cloudflare R2 Buckets for Active Storage Josef Strzibny

📄 The Arbitrary Handling of Mock Arguments in RSpec Tejas Bubane

📄 Tagging Your Logs in Rails Apps Ryan Bigg

🛠 Code & Tools

Marksmith: A GitHub-Style Markdown Editor for Rails — Well known for his Avo Rails app dev framework, Adrian is back with another banger: a GitHub-style Markdown editor you can use in your Rails apps. It features a similar toolbar, supports Active Storage, and is ready to drop in.

Adrian Marin

Parklife: Turn a Rack App into a Static Build — Got a Rack-powered app and want to spin it into a static version to quickly deploy on GitHub Pages, S3, or just your own basic HTTP server? The latest version adds Rails 8 support.

Ben Pickles

💡 I learnt about Parklife through Ben Sheldon's article about migrating from Jekyll to Parklife for his blog.

Seamless Rails Upgrades: Expert Maintenance. Fixed Price — Upgrade RoR smoothly. We offer expert Rails maintenance at a fixed price. Secure, performant, minimal disruptions. Outdated gems? Breaking changes? We handle it.

reinteractive / CodeCare sponsor

WebMock 3.25.0: Stub and Set Expectations on HTTP Requests for Testing — Supports lots of HTTP libraries like Net::HTTP, Excon, the http gem, and Curb::Easy.

Bartosz Blimke

📰 Classifieds

🚀 Hiring Ruby devs? Get top LATAM talent, fluent in English & synced to your U.S. time zone. Fast, vetted, ready to code!


Supercharge your team with SINAPTIA! We can augment your team with devs to help you keep up with your delivery schedule. Test us!

📢  Elsewhere

A quick roundup of some of other interesting updates in the broader developer landscape, in case you've missed them:

  • 🐝 If you ever feel a need to start building full-stack JavaScript apps but want a framework that describes itself as 'Rails-like', Wasp may be for you.

  • The Evil Martians have a handy 2025 take on what you need to cover all the 'favicon' bases for your apps – it takes just three files (down from six in last year's take).

  • Did you know Oracle owns the 'JavaScript' trademark? The team behind the Deno JavaScript runtime are trying to get the trademark invalidated but it's a long, drawn-out process and Oracle is attempting to get the case dismissed asserting that "relevant consumers do not perceive JAVASCRIPT as a generic term." 🤡

  • Salma Alam-Naylor is a developer who developed severe hand pain and needed to find new ways to keep coding. Here's her story of how she found a voice-based coding approach.

  • httptap is a fascinating Linux-only Go-powered tool for viewing the HTTP/HTTPS requests made by any program. Could be handy for seeing if an app or dependency is phoning home or for black box debugging.