Short Ruby Newsletter - edition 151

The one where Hanami 2.0 is released, get tickets with a good discount for SF Ruby 2025, and the one where you can see how vector search can be implemented in Rails.

Table of Contents

(ad)

What 100K+ Engineers Read to Stay Ahead

Your GitHub stars won't save you if you're behind on tech trends.

That's why over 100K engineers read The Code to spot what's coming next.

  • Get curated tech news, tools, and insights twice a week

  • Learn about emerging trends you can leverage at work in just 10 mins

  • Become the engineer who always knows what's next

πŸš€ Launches and discounts

πŸš€ Gustavo Valenzuela prelaunched DevvMe - Showcase, Connect, and Grow as a Developer

πŸš€Omar Rashad launched a newsletter Decoded Rails:

πŸ“… Events

πŸ“† Irina Nazarova announced that for a couple of days SF Ruby Conference will offer lower price tickets at $350 with coupon code SEP29OCT6 . This looks like an amazing conference to participate so if you can don’t miss it. It will be legendary! Discounted tickets are available until today 6 October (included).

Source: @inazarova

πŸ“… Thoughtbot announced a new event β†’ throughtbot OPEN SUMMIT

πŸ“… Pascal LalibertΓ© announced a new edition of Hotwire Office Hours happening October 6-10

πŸ“… Visuality announced a new meetup on 13 October. Book your place here β†’ PLRUG Warsaw Meetup @ Behind The Code – October Edition

Source: @visualitypl

πŸ‘‰ All about Code and Ruby

πŸ‘‰οΈ Hanami announced a new release β†’ Hanami 2.3 beta1

You should check Andrea Fomera new repository β†’ hanami-omakase - β€œA curated set of defaults for Hanami.rbβ€œ

πŸ‘‰ AndrΓ© Arko launched a new gem server Gem.coop:

Source: @indirect.io

Source: Gem.coop

It seems the new server is supported by a new organisation The Gem Cooperative (read about the Gem Cooperative at Announcing The Gem Cooperative at Martin Emde)

Source: Gem.coop

πŸ‘‰ Charles Oliver Nutter announced that JRuby 10 officially supports Java 25

Source: @headius

οΈπŸ‘‰ Marco Roth shared his enthusiasm about what he will build in next version of Herb:

Source: @marcoroth_

(shameless plug)

I run a 3-hour workshop for developers on efficient testing, emphasizing fewer, purposeful test cases. It covers test design, prioritization by risk, and real techniques supported by math models. The session includes theory and practical testing of Ruby and Rails code. You will get a recording of it after the live workshop.

Read more about it at GoodEnoughTesting.com (check the testimonials section). Next session will be this Friday at 15:00 UTC, maximum 15 participants.

PS: If you'd like to expense this to your company, check "How To Expense" for message suggestions to send to your managers. If you have your own company, you can generate detailed invoices, including VAT ID, during the checkout process.

πŸ’» Code Samples

οΈοΈοΈπŸ’» Samuel Williams shared a code sample of Falcon and Async:

Source: @ioquatix

πŸ’» Ryan Strickler shared a helpful trick for lazy loading with a turbo frame

οΈπŸ’» Emmanuel Hayford shared a code sample with a new feature from PostgreSQL 18

Source: @siaw23

οΈπŸ’» Ruby Cademy shared how to see your notes directly in the browser

Source: @RubyCademy

️Jake Moffatt replied with an option to see these notes in a prettier way by using β†’ celina-lopez/prettytodo

Source: @jakeonrails

οΈπŸ’» Emmanuel Hayford shared a new config option introduced in Rails

Source: @siaw23

πŸ’» Lucian Ghinda posted an interesting thread entitled β€œWhen you run a Ruby file who’s already thereβ€œ, with an explicit focus on why the inspect says β€œmainβ€œ. To get all the insights, read the full version of it on X

οΈπŸ’» Ruby Cademy shared about defining locales in Rails using Ruby files instead of YAML:

Source: @RubyCademy

οΈπŸ’» Lucian Ghinda shared how to create a new Rails app with Rails 8.1.0.beta1

πŸ“ Thinking about Code Design

οΈπŸ“ Zeke Gabrielse shared that the transition from the Rails 7 to Rails 8 is the easiest major version upgrade in Rails history

Source: @_m27e

οΈπŸ“ Nate Berkopec illustrated the importance of the jemalloc in production Ruby systems

οΈπŸ“ Gavin Morrice shared his perspective on common request-related keywords in code

οΈπŸ“ Yaroslav Shmarov shared how he implemented vector search in a Rails app. For more details, you can check the blog version β†’ Ruby AI. Vector (semantic) search with embeddings

Source: @yarotheslav

οΈπŸ“ Igor Alexandrov made a post about data migration

️Rob Zolkos replied with:

Source: @robzolkos

οΈπŸ“ Greg Molnar shared some security tips for Rails apps

Source: @GregMolnar

️John Athayde replied with a script bin/ci setup that will run variuos checks.

οΈπŸ“ LekΓ« Mula shared his commitment to making RSpec work seamlessly with LSP tools, driven by frustration with its DSL limitations

Source: @lekemula

οΈπŸ“ Steve M. shared a quick Rails 8 tip

πŸ’‘Around code (news, findings, books, and more - all about Ruby)

πŸ’‘ Nate Berkopec shared his perspective on Ruby Central's approach to monetizing open source control

πŸ’‘ Jean Boussier shared his take on a potential path forward after Ruby Central situation

πŸ’‘ Jason Swett asked the community about what aspects of Ruby and Rails are underdocumented

Source: @JasonSwett

The community replied:

πŸ’‘ Greg Molnar created a new Ruby Discover Server

Source: @GregMolnar

❀️ Why Choose Ruby and Rails

❀️ Christoph shared his experience repeatedly re-implementing Rails β€œcreate_or_find_by” in other frameworks

Source: @clupprich

❀️ u/andreiantonescu published on Reddit a post about choosing Rails:

Source: Reddit

🧰 Gems, Libraries, Tools and Updates

πŸ†• New Gems and Repos

πŸ†• Andrea Fomera announced a new repository β†’ hanami-omakase - β€œA curated set of defaults for Hanami.rbβ€œ

πŸ†• Vitaly Slobodin announced a new gem β†’ gem-why - β€œA RubyGems plugin that shows which installed gems depend on a specific gem.β€œ

πŸ†• Emmanuel Hayford announced a new gem β†’ railserd - β€œAn Interactive web-based ERD generator for Ruby on Rails.β€œ

πŸ†• Giovanni Panasiti announced a new gem β†’ sqlite_dashboard - β€œSQLite Dashboard is a Rails engine that gives you a beautiful web interface for browsing and querying SQLite databases.β€œ

🧰 Updates

🧰 Akira Matsuda announced a new version of haml-rails - β€œHaml-rails provides Haml generators for Rails 5, 6, 7, and 8β€œ

Source: @a_matsuda

🧰 Greg Molnar shared that Rails 8.1 onward, won’t generate any system tests by default. For more details check this PR β†’ Don't generate system tests by default

Source: @GregMolnar

🧰 Jeremy Evans announced a new version of sequel - β€œThe Database Toolkit for Rubyβ€œ

🧰 Jeremy Evans announced a new version of autoforme - β€œWeb Administrative Console for Roda/Sinatra/Rails and Sequel::Modelβ€œ

🀝 Nick Schwaderer published his first writing in a while called: β€œA Claude Commands and Hooks Primer - Building a Memory and Personality System for Claude Codeβ€œ

🀝 Sung Kim shared new OpenAI and Stripe product launches

🀝 Tobi Lutke shared the new Shopify feature

Source: @tobi

🀝 Jason Swett made a post about β€œdata-drivenβ€œ decisions

Source: @JasonSwett

🀝 Simon Willison reflected on GitHub's shift away from being a prime example against unnecessary SPAs

Source: @simonw

More content: πŸ“š πŸ—ž 🎧 πŸŽ₯ ✍🏾

πŸ—ž Newsletters

πŸ—ž This Week in Rails published a new edition β†’ Virtual columns, real bugfixes

πŸ—ž Ruby Weekly published a new edition β†’ The Ruby Association wants your grant proposals

πŸ—ž Andrey Eremin published a new edition β†’ Static Ruby Monthly | Issue 9, September 2025

πŸ—ž Women On Rails Newsletter published a new edition β†’ Newsletter WoR #66: a sad month for the Ruby and Rails community

πŸ—ž Matt Solt published a new edition β†’ Ruby AI News - October 3rd, 2025

πŸ—ž Awesome Ruby Newsletter published a new edition β†’ Issue 489 - On DHH’s β€œAs I Remember London”

🎧 Podcasts

🎧 Reinteractive published a new podcast episode β†’ Technology for Humans: Scott Werner

🎧 Neciu Dan published a new podcast episode β†’ Rails at Scale with Adrian Marin founder of AVO

🎧 Justin Searls published a new podcast episode β†’ v44.0.1 - JosΓ© Valim: It's a time for builders

🎧 The Ruby Gems Podcast published a new episode β†’ Rails World: Amanda Perino

🎧 The Bike Shed published a new episode β†’ 476: Green Flags for Code

🎧 Remote Ruby published a new episode β†’ Blastoff Rails with Travis Dockter

🎧 Tropical.Rb will publish a podcast episode on October 10 β†’ Episode 01

πŸŽ₯ Videos

πŸŽ₯ Guillaume Briday published a new video about From Local to Global: Making Rails apps resilient - Lyon.rb - 09/2025

πŸŽ₯ RubyKaigi published some videos from RubyKaigi 2010 - > [27S03] Rubygems, Bundler, and the future / Carl Lerche (Engine Yard) and [28M02] Keynote / Matz and there are more on their channel.

πŸŽ₯ Carolina Code Conference published a new video β†’ Using Kamal 2.0 in production

πŸŽ₯ Dave Kimura published a new video about Omarchy

✍🏾 Articles

What’s new πŸ†•

πŸ†• Sam Ruby published a new blog post entitled Re-Retired

πŸ†• Sid Krishnan published a new article about How does Turbo listen for Turbo Streams?

πŸ†• Piotr Jurewicz published a new article about Rails 8 upgrade story: duplicate keys sneaking into our JSON responses

πŸ†• Alexandre Ruban published a new article about How to Read Code from the Showcase Ruby on Rails Engine

πŸ†• Jose Farias published a new article about Code Can Be Context-Aware

πŸ†• Joel Drapper published a new article about The RubyGems takeover from the perspective of an open-source maintainer

πŸ†• Felipe Vogel published a new article about A catalog of coding challenges

πŸ†• Jared White published a new article about Little Content Tricks for Your Bridgetown Website

πŸ†• Brooke Kuhlmann published a new article about Hanami Containers

πŸ†• Roman Samoilov published a new article about Impractical Ruby Optimisations

πŸ†• Yatish Mehta published a new article about September SF Ruby Meetup at Binti

πŸ†• Ryan Bigg published a new article about Hanami for Rails Developers: Part 1: Models

How-TOs πŸ“

πŸ“ Daniela Baron published a new article about Switching From Ruby to SQL Schema in Rails

πŸ“ Josef Strzibny published a new article about Handling wildcard TLS for domain names using Kamal and Caddy | Deploy Linux Blog

πŸ“ Alexey Solilin published a new article about Async Modal on Rails with Native Dialog Element - Turbo

πŸ“ Vitalii Elenhaupt published a new article about Building real-time chat with Hotwire

πŸ“ David Morales published a new article about Sinatra Tutorial: Building a To-Do Application

πŸ“ Harrison Broadbent published a new article about Run RSpec specs in parallel (with the parallel_rspec gem)

πŸ“ Radan Skoric published a new article about How to elegantly update other UI when a Turbo Frame is updated

πŸ“ Brad Gessler published a new article about Supermail mailto links

πŸ“ Rails Designer published a new article about Visual loading states for Turbo Frames
with CSS only

AndrΓ© Arko published a new article about jj part 2: commands & revsets

Reply

or to participate.