- Short Ruby Newsletter
- Posts
- Short Ruby Newsletter - edition 120
Short Ruby Newsletter - edition 120
The one about the mythical IO-bound Rails app and where the community debates again the usefulness of Service Objects

Table of Contents
(ad)
Seeking impartial news? Meet 1440.
Every day, 3.5 million readers turn to 1440 for their factual news. We sift through 100+ sources to bring you a complete summary of politics, global events, business, and culture, all in a brief 5-minute email. Enjoy an impartial news experience.
π Launches and discounts
π Chris Oliver is launching a complete Hotwire course!

Source: @excid3
π Aaron Francis announced their partnership with Stephen Margheim for their first rails course highleveragerails.com

Source: @aaronfrancis.com
π Events
π Balticruby extended call for proposals till 1st February, 2025

Source: @balticruby
π Wroclove.Rb has opened their call for proposals for conference happening from April 11-13, 2025

Source: @wrocloverb
π All about Code and Ruby
π Jean Boussier published a new article about The Mythical IO-Bound Rails App

Source: The Mythical IO-Bound Rails App
Jean Boussier published also two more very interesting articles about Instrumenting Thread Stalling in Ruby Applications and about Why Does Everyone Hate fork(2)?
π Noel Rappin published an article about Better Know A Ruby Thing: Singleton Classes
π Jakob Skjerning published an article Caution: Be careful using ActiveRecords STI
π» Code Samples
οΈπ» Xavier Noria asked a question about checking presence:

Source: @fxn.bsky.social
Ara replied with:

Source: @hacopian.de
οΈπ» Matheus Richard shared a sample on how to use it to improve readability

Source: @matheusrich
οΈπ» Ruby Cademy shares an example on application of find_sole_by()
(ad)
Drowning In Support Tickets? Maven AGI is here to help.
Maven AGI platform simplifies customer service by unifying systems, improving with every interaction, and automating up to 93% of responses. Seamlessly integrated with 50+ tools like Salesforce, Freshdesk, and Zendesk, Maven can deploy AI agents across multiple channelsβtext, email, web, voice, and appsβwithin days. Companies like Tripadvisor, ClickUp, and Rho slash response times by 60%, ensuring quicker support and exceptional customer satisfaction. Donβt let support tickets slow you down
οΈπ» Sebastian Wilgosz tells us how to have default gems installed for new ruby versions automatically

Source: @sebwilgosz
οΈπ» James Hibbard shared a gist on How to set up a basic Sinatra + React webapp

Source: @jchibbard
οΈπ» Ruby Cademy shared a rails command line code to generate polymorphic references

Source: @RubyCademy
Here is how to control method visibility using delegate:

Source: @RubyCademy
οΈπ» Nidhi Sarvaiya shared code samples using βitβ block parameter

Source: @sarvaiya_nidhi
π» Ara Hacopian shared:

Source: @hacopian.de
π» Joel Drapper shared a code sample about data sturctures in Plume

Source: @joel.drapper.me
π» Kyrylo Silin shared a code sample about using it
:

Source: @kyrylo.org
π» Kuba Suder shared two Ruby scripts for printing statistics about users on Bluesky: scans listed accounts and scans your home timeline:

Source: @mackuba.eu
π Thinking about Code Design
οΈοΈπ Nate Berkopec talks about how you are missing out on saving your applicationβs memory usage if you arenβt making use of jemalloc
οΈπ Mika Henriksson talks over the discussion that frameworks are like urbanism

Source: @mhenrixon
οΈπ Gavin Morrice shared about PORO naming:

Source: @MorriceGavin
οΈπ Jason Swett shared his thoughts on the argument that service objects makes code easier to test:

Source: @JasonSwett
Jake Moffatt says he is searching for good codebases that demonstrates not using service objects:

Source: @jakeonrails
οΈMike Coutermarsh and Ebi You joins in on the discussion:

Source: @mscccc

Source: @TheDumbTechGuy
οΈ Andrei Maxim replied:

Source: @rockatanescu
οΈHere is what Jose Farias thinks about the same:
οΈAbraham adds his comments too

Source: @Abe9000000
οΈGavin Morrice quoted:

Source: @MorriceGavin
οΈMichael Chaney added:

Source: @MichaelDChaney
π Brandon Weaver shared about what is missing in Rails when talking about scaling:

Source: @baweaver.bsky.social
π Yaroslav Shmarov shared a code sample about organising configuration at the end of the files:

Source: @yarotheslav.bsky.social
π‘Around code (news, findings, books, and more - all about Ruby)
π‘ Amanda Brooke Perino discovers that DigiD is built on rails

Source: @AmandaBPerino
π‘ Nate Berkopec shared a rails PR that changes ActiveRecord connection pools

Source: @nateberkopec.bsky.social
π‘ Mike Dalessio looks out for suggestions:

Source: @flavorjon.es
π‘ Yukihiro Matz shared a report Salaries by Skill - 2025 Dice Tech Salary Report - Tech Professionals. Please notice the sample size before deciding how you interpret this report.

Source: @yukihiro_matz
β€οΈ Why Choose Ruby and Rails
β€οΈ Aji Slater wrote an article about Why Rails in 2025?
β€οΈ Victor Shepelev shared about how Ruby has most of the core concepts from the beginning:

Source: @zverok.bsky.social
β€οΈ Nate Hopkins shared a code sample about Rubyβs predicates:

Source: @hopsoft.bsky.social
β€οΈ Typecraft shared about Ruby having Hotwired:

Source: @typecraft_dev
β€οΈ Lee Wynne shared about why t hey are choosing Ruby in 2025:

Source: @leewynne
π§° Gems, Libraries, Tools and Updates
π New Gems and Repos
π Joel Drapper announced a new gem difftastic-ruby - Ruby interface for Difftastic
π Marco Roth announced a new gem minitest-difftastic: Minitest Plugin to use difftastic for diffing
π Aaron Allen announced a new gem sai - An elegant color management system for crafting sophisticated CLI applications
π Mario Alberto ChΓ‘vez announced maquina_components: Modern UI components for Ruby on Rails, powered by TailwindCSS and Stimulus

Source: @mario_chavez
π Brian Casel shared a preview of the Instrumental Editor:

Source: @briancasel.com
π§° Updates
π§° J Ruby Dev Team announced a new version of JRuby:

Source: @jruby
π§° Jorge Manrubia announced a new version of Release v0.1.13 Β· hotwired/spark
π§° Vladimir Dementyev announced a new version of Ruby Next

Source: @palkan_tula

Source: @_st0012
π€ Adam Wathan shared Tailwind CSS v4.0 release

Source: @adamwathan
π€ Jason Swett shared about how to value a developer:

Source: @JasonSwett
π€ Prem Sichanugrist shared about using Passkey:
More content: π π π§ π₯ βπΎ
π Ruby Europe published the first edition Ruby Europe - News - The very first Ruby Europe newsletter - European Ruby and Ruby on Rails community.
π Ruby On Rails published a new edition Ruby on Rails: Devcontainers without VSCode, a deprecation and more!
π Ruby Weekly published a new edition about Jean's epic journey to optimize Ruby's JSON parsing
π Hotwire Weekly published a new edition about Week 04 - Hotwire Native Environment Switching, Stimulus Autocomplete, and more! β’ Buttondown
π Awesome Ruby Newsletter published a new article about π Issue 453 - Adding button loader to Turbo-powered forms
π§ Podcasts
π§ Indie Rails published a new podcast about IndieRails | New Year Sentiment
π§ Emmanuel Hayford published a new podcast about The Rails Changelog | 029: Tuning Ruby on Rails App Performance with Jean Boussier
π§ Chris Oliver published a new podcast about Sin City Ruby & Testing with Jason Swett
π§ Jason Swett published a new podcast The Code with Jason Podcast
π§ The Ruby On Rails Podcast released new podcast Episode 531: Taking Over Fireside with John Nunemaker & Garrett Dimon
π§ David Hill published a new episode about Aaron Patterson - Ode to RailsConf
π½οΈ π₯ Videos
π₯ Yaroslav Shmarov shared Typesense search with Ruby on Rails #225
π₯ Drifting Ruby published a new video about Refreshing Turbo Frames | Drifting Ruby
π₯ Ruby TΓΌrkiye published a new video about The present and future of SQLite on Rails - Stephen Margheim
π₯ Ken Greeff published a new video about Adding Full Text Search to Rails Directory - Part 10
π₯ Irina Nazarova published a new video about SF Ruby Meetup βͺ@productboardincβ¬, January 2025
π₯ Rails Quest by Kaleb Lape published a new video about Rails 8 Local Development Like a Pro: Custom Domains & SSL Setup Guide
βπΎ Articles
Whatβs new π
π Ruby Gems published a new article about December 2024 RubyGems Updates
π Harrison Broadbent published an article about Stealthly Browsing and Scraping with Ferrum
π Affimon published an article about Our Production Ruby on Rails stack
π Avo published a new article about Component variants in Rails with the class_variants gem
π David Montesdeoca published an article about The one about learning Ruby
π Davide Santangelo published an article about Prime Number Generation Algorithm in Ruby
π Burdette Lamar published an article Nokogiri Cookbook
π Rails Designer published an article about 6 Free Icon Libraries for Rails Apps and about Gems I use for Rails SaaS apps
π Fritz Meissner published a new article about What happens when we misuse refactoring in conversation?
π Jeremy Smith published an article about Stimulus Autocomplete with Combobox Navigation
π David Morales published an article about Install Ruby: A Step-By-Step Guide | DevelClan
π Blazej published a new article How The Odin Project Changed the Way I Learn Code
π Maciek Korsan published a new article about Turbo Frames and the Extra DOM Node β How to Handle It?
How-TOs π
π Anthony Drake published a new article about Migrating Away from Devise Part 6: Trackable Module and Tests
π PaweΕ DΔ browski published an article about Deploying Rails on Docker: Kamal alternative - Dokku
π Benito Serna published a new article about Fixing a bug in my lateral joins queries with rails
π Victor Cobos published a new article about From Sticky to Pinned: A Stimulus Controller Approach
π Rob Race published a new article about How to Build a Twitter Clone with Rails 8 Inertia and React
π Sulman Baig published an article about Rails 8 CI/CD: GitHub Actions & Kamal
Marco Roth published a new article about 2024 Year-in-Review
Joshua Wood published a new article about LLMs and Debugging
Daniel Doubrovkine published a new article about Should You Work on Weekends?
Jamie Lawrence published a new article about I disagree
Dave Thomas published an article about AI Coding Is Based on a Faulty Premise
Reply