#737 — February 6, 2025 |
🙏 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! |
|
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 Boring — FastRuby.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 Bartosz Blimke |
|
|
📢 Elsewhere |
A quick roundup of some of other interesting updates in the broader developer landscape, in case you've missed them:
|