|
Happy Wednesday! Here is issue #174 of our newsletter, bringing you news and the best tools for your current or future Rails projectsโฆ ๐ฅง We are thankful for our community. If youโre celebrating, we hope you have a safe & relaxing holiday weekend. 1. ๐ณ Render can't pull your private Docker image? As of October 2026, Render only accepts private image credentials for five registries, and imgproxy Pro's registry isn't one of them. Gelsey shows how to mirror a private image into GitHub Container Registry with a GitHub Actions workflow so Render can deploy it. Read on for the workflow that copies a tag only when it isn't mirrored yet, how to keep the package private, and the 2. ๐จ Is your Ruby patched against the new Regexp and String vulnerabilities? Last week the Ruby team published an advisory on seven vulnerabilities in the regular expression engine and in String case conversion, saying it is aware of PoCs showing some can trigger remote code execution. Fixes shipped for Ruby 4.0.10, 3.4.13 and 3.3.14, but Ruby 3.2 and earlier have reached end of life and will not receive them. Open it for the affected version ranges, the GHSA identifier and description of each flaw, and the recommended action. 3. ๐ Which security changes did Rails make in its latest weekly roundup? Claudio Baccigalupo's weekly Rails changes roundup explains how unscope or rewhere in an association scope could let delete_all affect other owners' records, which load_defaults "8.2" fixes while other apps keep the old behavior with a deprecation warning. It also covers a Rack patch that disregards arbitrary multipart encodings, which have been used several times in exploit chains targeting Rails apps. Read on for the before and after SQL and the Rack opt-out. 4. ๐จ Using Hanami, dry-logger, or dry-logic? Check your versions. Tim Riley announces patch releases for seven gems that fix nine security advisories. In hanami-router, concurrent requests can receive each other's route params, and in dry-logic, the unanchored 5. ๐ Downloading four binaries to use one? Jenny Shen introduces content-addressable gems in RubyGems 4.1, which publish one precompiled gem per Ruby ABI, named by a SHA-256 checksum prefix, so each gem is smaller and maintainers can add a build for a new Ruby without cutting a new version. Read it for the rake-compiler 6. ๐ See a page's Hotwire structure without the markup around it. Radan Skoriฤ announces v0.1 of a browser extension that surfaces the Turbo Frames, Stimulus controllers, targets and Turbo events in a Hotwire-powered page, reacting to live changes as they happen. It's early development and feedback is welcome. Read it for the two uses the author finds especially helpful: getting oriented in a feature you didn't build, and checking that your AI coding agents built the Hotwire architecture you agreed on together. 7. ๐ง Is your coding agent copying the patterns you deprecated? Todd Sedano and co-author Dave show how a deprecated job-enqueueing class at Gusto crept back from 226 to 339 call sites once coding agents copied the leftover examples, and how a lint "ratchet" lets violations only go down. Read it for the ratchet's three parts and the sleep-in-specs rule whose error message lists the fixes in order. 8. ๐งญ Did AI quietly promote you to architect? Mani Doraisamy's Google Forms add-on took 15 seconds to show its welcome screen because AI-written install logging chained try/catch fallbacks, each one-line call making multiple Google API calls. AI does what you ask and won't push back on requirements, so your job becomes architecture. Read on for the simple fix and the tasks: push back on requirements, design the data model, constrain AI to it and review the code. 9. ๐งญ Where does your career land when AI makes routine work cheap? After a friend outside tech saw most of their clients moved to an AI tool, Jonathan Hoyt wrote three rough ways the next few years could go, and practical moves for any career. Hoyt thinks the middle case, a split economy, is the most likely. Read it for why using AI only to do your task 30% faster often lets your employer pocket the savings or decide a smaller team can cover the load, how to use it to step into adjacent work, and why to keep your hands close enough to the real work to spot when the machine is confidently wrong. Check out our other articles on: Ruby | Rails | Compatibility | Upgrades | Tech Bookmark, share, or save them for later. We hope these links are helpful. ๐ Best, The FastRuby.io Team
|