#761 — July 31, 2025 |
|
Ruby Weekly |
![]() |
Code Reloading for Rack Apps — If you’re working with Rack-backed apps that aren’t Rails apps, you might miss some of Rails’ niceties like code reloading. Jared shows how to use Zeitwerk, Listen and Concurrent Ruby to recreate the experience, whatever you’re using. Jared Norman |
💡 On the topic of Rack, Rack 3.2.0 has just been released. |
![]() 🧰 Small Team? Big Rails App? Bonsai Can Bridge the Gap — Are you a team of one (or a few) juggling too much tech debt? Bonsai helps you stay productive by handling upgrades, dependency management, security patches, and more. Affordable plans, no surprises or downtime. Bonsai by FastRuby.io sponsor |
Solving the SPA Mystery with Inertia.js and Rails — The modern JavaScript ‘single page application’ (SPA) approach has long clashed with Rails’ server-centric approach, but Inertia can bring ideas from the two worlds together well, without the unwanted complexity and architectural overhead. Svyatoslav Kryukov (Evil Martians) |
IN BRIEF:
|
🤖 RubyLLM 1.4: Work with AI APIs the Ruby Way — RubyLLM offers ‘one beautiful API’ for working with things like OpenAI, Claude, Gemini, and others, and has come along in leaps and bounds since we first mentioned it. v1.4 adds a very useful ability to get structured output with JSON schemas without any prompt engineering gymnastics. Carmine Paolino |
Rails (Might Be) Getting a Structured Event Reporting System — Prateek looks at a proposed native event reporting system that could provide a first-class Rails API for emitting structured business events and explains the benefits in real world scenarios. Prateek Choudhary |
Watch How We Made a Postgres Query 1000x Faster — See Query Advisor in action & watch the webinar on demand now. Pganalyze sponsor |
📄 On Service Objects – A self-confessed ‘critic of service objects’ articulates what he doesn’t like about them and how he thinks they should be implemented. Brad Gessler 📄 Build Custom Active Storage Analyzers for Rails – Analyzers extract or calculate metadata from blobs being handled by Active Storage and you can make your own. Julian Rubisch 📄 AI Agents: Implementing the ReAct Pattern in Ruby Amanda Bizzinotto |
🛠 Code & Tools |
![]() |
Decant: Framework-Agnostic, Frontmatter-Aware Wrapper for Static Content — One of those libraries you have to see in action to ‘get it’ but the idea is elegant and simple. Define a Decant class, point it to some typical static site content files, and it can help you bring them to life, such as in a tiny Sinatra app like this. Ben Pickles |
ViewComponent 4.0: View Components for Rails — Inspired by React, this is a popular framework for building reusable, testable & encapsulated view components using regular Ruby objects. Version 4.0 is a significant release with an LTS model and numerous breaking changes to be aware of. GitHub repo. Various Contributors |
🔴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 sponsor |
RubyZip 3.0: Library for Working with The Rubyzip Team |
Himg: The Hyper Image Generator — “You give it HTML and it gives back an image.” The idea is you could use this for creating OpenGraph images to give links back to your pages a little more flair. James EdJo |
Rails GraphQL: A Rails-Flavored GraphQL Server — Connects in with Rails features like Active Record and Action Cable. This week’s release adds Rails 8 support. GitHub repo. VirtualShield LLC |
|
|
🎁 Tiny Bonus Items |
|