- Short Ruby Newsletter
- Posts
- Short Ruby Newsletter - edition 127
Short Ruby Newsletter - edition 127
The one where Sidekiq 8 is launched, where Kasper Timm Hansen is announcing a new workshop about Action View and where Adam McCrea launches PaaS Pricing Calculator

In partnership with
Table of Contents
(ad)
Please excuse the lack of polish in this adβweβre a team of developers, not marketers. π
Judoscale autoscales your web and worker deployments on Heroku, Render, Railway, Fly, and Amazon ECS.
Whether or not you use Judoscale, you should check out our guides to configuring Rails for production, scaling Sidekiq, and understanding request queue time.
π Launches and discounts
π Adam McCrea launched an exciting new tool for comparing hosting costs of web applications across multiple platforms, allowing for side-by-side price comparisons. If you are interested, you can try it right away π₯³ β PaaS Pricing Calculator

Source: @adamlogic.com
π Chetan Mittal launched a new book Mastering Enums in Rails
You can also read the other online book they published Mastering Building PWA in Rails
π Events
π Kasper Timm Hansen announced an online event π« If you want to participate, here is the link to this event: Action View-Source Deep-Dive

Source: @kaspth.bsky.social
π Ruby Central announced more details on RailsConf 2025 π

Source: @rubycentral.org
π Euruko announced the opening of their Call for Proposals for EuRuKo 2025

Source: @euruko
π Irina Nazarova announced more news on SF Ruby Meetup π₯

Source: @inazarova
π All about Code and Ruby
π InfoSec reported critical vulnerabilities in the ruby-saml gem that allow attackers to bypass authentication, currently an update is available for this gem. If you are interested in finding more information about this vulnerability, InfoSec shared a detailed blog and you can check the ruby-saml release notes here. Github also published an article about this vulnereability.
π Ruby on Rails announced a new release 8.0.2 π. For more details, see the full changelog πͺ

Source: @rails
π Esparta shared his experience of bundle
being interrupted during dependency installation while upgrading to Ruby 3.4.x βΌοΈ This is a complex thread, you can read everything from it on Mastodon

Source: [email protected]
π Matt Yoder shared a Ruby puzzle about string-freezing behavior π§©

Source: [email protected]
π Jochen Lillich shared his appreciation for Ruby's expressive syntax features

Source: [email protected]
π Vladimir Dementyev showcased how easy it is to run Avo directly in the browser

Source: @palkan_tula
π» Code Samples
οΈοΈπ» Peter Solnica shared his discovery that Ruby's byteslice method creates new string instances when operating on frozen empty strings

Source: @solnic.dev
οΈπ» Adam McCrea shared some insights on configuring Rails for a platform like Heroku

Source: @adamlogic
οΈπ» Graceful.Dev shared a trick about using filter and map together efficiently π€

Source: @graceful.dev
οΈπ» Michael Koper shared a security tip to prevent admin account password resets π΅οΈββοΈ

Source: @michaelkoper.com
οΈπ» David Heinemeier Hansson shared with amazement that Claude identified Rails' CONCERNS as the prettiest code in the Rails source π€©

Source: @dhh
οΈπ» Zeke Gabrielse shared code showing a Rails migration that consolidates multiple authentication error codes into a single CREDENTIALS_INVALID code π§βπ»

Source: @_m27e

Source: @_m27e
οΈπ» Thomas Leitner asked his community how to efficiently remove a specific number of trailing elements from an array without creating a new result array

Source: @gettalong.bsky.social
Gregory Brown joined in and offered a solution

Source: @skillstopractice.comβ¬

Source: @skillstopractice.comβ¬
and Tomas went even further on this example by doing some performance benchmarks

Source: @gettalong.bsky.socialβ¬

Source: @gettalong.bsky.socialβ¬

Source: @gettalong.bsky.socialβ¬
οΈπ» Gregory Brown shared a code sample about Ruby exceptions

Source: @skillstopractice.com
οΈπ» Hans Schnedlitz shared a code sample about a feature from graphql-ruby π Here you can read more about this topic: Async Source Execution π

Source: @hschnedlitz
οΈπ» Yaroslav Shmarov shared a tip for access & edit Rails encrypted credential π

Source: @yarotheslav.bsky.social
οΈπ» Ruby Cademy highlighted Array#inquiry for writing more expressive code

Source: @RubyCademy
οΈπ» Ismael Celis demonstrated the use of Plumb to decorate and validate third-party objects π§

Source: @ismaelcelis.com
οΈπ» Ruby Cademy highlighted Rake's ability to run tasks in parallel using multitask

Source: @RubyCademy
οΈπ» Alex Yarotsky highlighted the invert_where
method in Active Record that lets you easily flip query conditions without rewriting them

Source: @AlexYarotsky
π Thinking about Code Design
οΈοΈπ Nate Berkopec shared advice on optimizing ActiveRecord database connections by using external poolers and a large pool setting

Source: @nateberkopec
οΈπ Xavier Noria raised a question about Ruby's flat_map
method, suggesting map_flat
as a more intuitive alternative name. I recommend you to read the conversation on Bluesky as it is very intersting to discover how the developers think about the naming:

Source: @fxn.bsky.social
οΈπ Gregory Brown shared how searching an unexpected Socket::ResolutionError message from his RSS feed script immediately revealed the problem, despite not finding a detailed explanation

Source: @skillstopractice.com
οΈπXavier Noria questioned whether it's possible to write an atomic Hash#get_or_set method in Ruby using only GVL protection without C extensions

Source: @fxn.bsky.social
οΈπ JoΓ«l Quenneville shared some tips on testing, especially on Rails apps π§ͺ

Source: @joelquen
οΈπ Ismael Celis shared how handy with(attribute: value)
helper can be π

Source: @ismaelcelis.com
οΈπ Errol Schmidt shared their top 5 good and bad findings from Ruby on Rails app reviews based on production applications at reinteractive

Source: @eSquareDesign (read the full thread)
π Top 5 Good section

Source: @eSquareDesign (read the full thread)
π Top 5 Bad Section

Source: @eSquareDesign (read the full thread)
π‘Around code (news, findings, books, and more - all about Ruby)
π‘ Donn Felker shared an interesting business opportunity β¨

Source: @donnfelker
π‘ Remi Mercier asked about questions that people have when starting to work with Minitest:
Here are some replies:

Source: [email protected]

Source: [email protected]

Source: [email protected]

Source: [email protected]
π‘ Lucian Ghinda highlighted an interesting aspect from an article about the future of Ruby in the AI era π€. Here you can read the article: Ruby's Renaissance in the AI Era

Source: @lucianghinda.com
π‘ Sourav shared his experience learning Ruby on Rails from a React/Next.js background, posting a thread full of illustrations and examples worth reading on X

Source: @souravinsights (read the full thread)

Source: @souravinsights (read the full thread)
π‘ Greg Molnar shared an opportunity to get a free ticket to Friendly.rb

Source: @GregMolnar
β€οΈ Why Choose Ruby and Rails
β€οΈ RadamΓ©s Roriz expressed his belief that Rails is the ideal platform for AI integration due to its stability

Source: @radamesroriz
β€οΈ Irina Nazarova expressed a vision for the Rails + AI ecosystem where features available as paid cloud services in other frameworks would be free and open source

Source: @inazarova
π§° Gems, Libraries, Tools and Updates
π New Gems and Repos
π Carmine Paolino shared the release of a new gem RubyLLM. Here is also the article where the author of this gem, Carmine Paolino, talks about the usage of the RubyLLM: Introducing RubyLLM 1.0: A Beautiful Way to Work with AI. See also the Hacker News discussion here (650+ points, 165 comments)

Source: @the_ruby_dev
π Sean Gregory published a new gem Hokusai - A Ruby library for authoring GUI applications
π Bruno announced a new gem Ruberto - A Ruby API wrapper for Uber

Source: @brunocostanzo_
π Brad Gessler announced a new gem superlink: A more powerful path and url generator for Rails

Source: @bradgessler
π Tomasz Kowalewski published a gem memplify - Simplify memory profiling with memplify
π Zach Morek published an interesting project DOOM.rb - A Ruby implementation of the classic DOOM game engine, focusing on vanilla accuracy inspired by Chocolate DOOM. Here is the current roadmap:
π§° Updates
π§° Mike Perham :sidekiq: announced an update about Sidekiq. If you are interested, check the blog version of this release π₯
π§° Jorge Manrubia announced a new version of Trix
π§° activeagents.ai announced a significant update to their gem with many improvements β¨For more details, you can visit the blog version of this release π΅οΈββοΈ

Source: @activeagents.ai
π§° Bozhidar Batsov (a.k.a. Bug) announced an update on RuboCop π€
π§° Jeremy Evans announced a new version of Roda 3.90.0
π§° Brad Gessler announced a new version of Sitepress 4.0.6. You can try it right away, go on sitepress.cc for more details πͺ

Source: @bradgessler

Source: [email protected]
π§° Alex Rudall announced an update for ruby-openai v8π¦Ύ
π§° Ruby Gems published a new edition 3.6.6 Released
More content: π π π§ π₯ βπΎ
π Hotwire Weekly published a new article about Week 11 - Real-time Sync with Hotwire, Hotwire Native Bridge Components Collection, and more!
π Ruby On Rails published a new edition about Ruby on Rails - Continuous integration at your fingertips
π Ruby Weekly published a new article about Sidekiq 8.0
π Awesome Ruby Newsletter published a new article about π Issue 460 - Introducing Sidekiq 8.0
π Sajjad Umar published a new article about Ruby on Rails β March 2025
π§ Podcasts
π§ Jason Swett published a new podcast: Code with Jason: Databases at Scale with Prarthana
π§ Chris Oliver and Andrew Mason published a new episode about Stripes Subscription Challenges
π₯ Videos
π₯ Zhephyn posted a new video Ruby Jr Developer Book Club - Chapters 13-14
π₯ Arkency published a new video about Different flavours of events in your Ruby on Rails application
π₯ Guillaume Briday published a new video about Rails 8: Multi-db with Solid Queue, Solid Cache and Kamal - Geneva.rb Meetup - 03/2025
π₯ Scott Werner published a new video about Const_missing
π₯ Errol Schmidt published a new video about Monitor Real-Time Engagement via Heroku Connect & Agentforce
βπΎ Articles
Whatβs new π
π Stan Lo posted a new article My Ruby Debugging Tips in 2025
π Adam McCrea shared a new article An Opinionated Guide to Configuring Rails on Heroku and about The Ultimate Guide to Scaling Sidekiq
π Avo published a new article about Testing OmniAuth authentication
π Scout Monitoring published a new article about Caching Strategies for Ultra-High Performance in Ruby on Rails, Part 1
π Rails Designer published a new article about Limit Spam Sign Ups in Rails Apps and about Using the Keyboard with Stimulus
π Jeffery Morhous published a new article about How to use Solid Cache in Rails
π Benoit Daloze published a new article about Matching Regexps 200 Times Faster
π Josef Strzibny published a new article about Predownloading embedding models in Rails with Kamal
π Chetan Mittal posted a new article Integer Enums vs. String Enums in Rails: Which One Should You Use?
π Louis Antonopoulos published a new article about Hotwire and That Syncing Feeling
π Lukasz Reszke shared a new article Is your Rails application special?
π Akshay Khot published a new article about Working with HTTP Responses in Rails
π Andrey Eremin published a new article about Why Static Typing is Essential for Efficient Ruby and Rails Development
π David Morales published a new article about ERB: Embedding Ruby in HTML
π Josef Strzibny published a new article about Minitest vs RSpec for testing Rails applications
π Kevin Murphy published a new article about Preserving Flash Messages in Rails
π Rich Steinmetz published a new article about Rails 8 on Kamal example setup with Sidekiq, Redis and Postgres
π Greg Molnar published a new article about Exploiting LLM tools and about Validating password strength
π Benoit Daloze published a new article about Matching Regexps 200 Times Faster
π TrΓ©sor Bireke published a new article about Finding the opposite of what you have with rails invert_where
π Saeolun posted a new article about ActiveModel::Attributes::Normalization
π Scott Werner published a new article about Const_missing and AI: A Ruby Metaprogramming Experiment
How-TOs π
π Vini Oyama published a new article about Building a Multi-Page guided tour with Rails + Driver.js
π Josh Branchaud posted a new article: Connect To Production Rails Console on AWS / Flightcontrol
π Jeffery Morhous posted an article about How to use Solid Cache in Rails
π Igor Alexandrov published a new article about Automate your builds with GitHub Actions
π Reni Mercier published a new article about Speed up RSpec tests: understand lifecycle and execution
βοΈ Andrey Sitnik published a new article about How to make your open source popular
βοΈ Muhamed Isabegovic posted a new article: From zero to one: Thoughts on the past few years
βοΈ Dave Thomas posted a new article about Agility On An Index Card
βοΈ Lucian Ghinda published a new article about How to implement JSON-LD Schema for your blog
Reply