- Short Ruby Newsletter
- Posts
- Short Ruby Newsletter - edition 116
Short Ruby Newsletter - edition 116
The one where Rails World, Friendly.rb and EuRuKo announced the dates for 2025 conferences and Marco Roth announces rubytriathlon.com
Table of Contents
(ad π)
Learn AI in 5 Minutes a Day
AI Tool Report is one of the fastest-growing and most respected newsletters in the world, with over 550,000 readers from companies like OpenAI, Nvidia, Meta, Microsoft, and more.
Our research team spends hundreds of hours a week summarizing the latest news, and finding you the best opportunities to save time and earn more using AI.
π Launches and discounts
There are still a lot of discounts still available for Ruby developers. I added them all to this article:
π Stanislav Katkov launched hooks.poshtui.com
Source: @5katkov
Source: www.rubytriathlon.com
π Events
π Rails World, EuRuKo and Friendly.rb announced the dates for their 2025 conferences:
Source: @rails
Source: @friendlyrb.com
Source: @euruko
π Two conferences announced their CFPs: Baltic Ruby CFP at PaperCall.io - Baltic Ruby and Tropical on Rails at PaperCall.io - Tropical on Rails 2025
Source: @balticruby
Source: @tropical_rb
π Check https://rubyconferences.org for the upcoming Ruby conferences. You will find two conferences happening in December if you want to close the year with going to a conference and all scheduled Ruby conferences for 2025 up until September 2025.
Source: https://rubyconferences.org
π Check https://rubyconferences.org/meetups for the upcoming meetups this week. There are 16 meetups scheduled around the world between 02 December and 08 December 2024
π All about Code and Ruby
If you want to support the newsletter, you can upgrade to paid subscriber at https://subscribe.shortruby.com
π Jorge Manrubia announced a surprise for Hotwire:
Source: @jorgemanru
π Tobi Lutke shared stats from Shopify BlackFriday event:
Source: @tobi
Source: @dhh
π» Code Samples
οΈπ» Postmodern asked about array.fetch(index,0)
versus array[index] || 0
Source: [email protected]
Here are some replies:
Source: [email protected]
Source: [email protected]
Source: [email protected]
Source: [email protected]
Source: [email protected]
π» RoRvsWild shared a code sample about avoiding retunring from modelβs method:
Source: @rorvswild.com
jmhmccr added:
Source: @jmhmccr.bsky.social
π» Nate Berkopec shared the latency numbers every Ruby on Rails dev should know:
Source: @nateberkopec.bsky.social
οΈπ» Matt Swanson shared a code sample about using code design to guide developers to use the correct implementation:
Source: @_swanson
π» RoRvsWild shared a code sample about enqueuing a lot of jobs really fast:
Source: @rorvswild.com
Source: @rorvswild.com
π» JP Camara shared a thread about calculating the largest known prime number by using the latest PR about Do not round a**b
to infinity by mame Β· Pull Request #12033 that will be part of Ruby 3.4:
Source: @jpcamara.com
Source: @jpcamara.com
π» Bozhidar Batsov shared a code sample about touching a file in Ruby by using File.open(path, βaβ) {}
:
Source: @batsov.net
π» Jeremy Smith shared about Stimulus pain points and proposed a solution
Source: @jeremysmith.co
Source: @jeremysmith.co
π» Gregory Brown shared a code sample about an inline template experiment:
Source: @skillstopractice.com
Source: @skillstopractice.com
Later Gregory followed up with another code sample:
Source: @skillstopractice.com
Source: @skillstopractice.com
π» Mike Perham shared a code sample about running CI against multiple Redis flavors:
Source: @mike.contribsys.com
π» Jan Dudulski shared a code sample from their Decide gem:
Source: @jan.dudulski.pl
οΈπ» Svyatoslav Kryukov shared a code sample about assigning stable names to roles: inertia_rails_svelte5_ssr/config/deploy.yml at main Β· skryukov/inertia_rails_svelte5_ssr
Source: @skryukov_dev
οΈπ» Ruby Cademy shared a code sample about using ActiveSupport::BacktraceCleaner
Source: @RubyCademy
Source: @RubyCademy
π Thinking about Code Design
οΈπRemi Mercier asked about how to trigger a bunch of turbo streams right after the initial request
Source: [email protected]
Here are some replies:
Source: [email protected]
Source: [email protected] (check the PR on turbo-rails)
π Noel Rappin shared about treating application.rb
and environments
files immutable:
Source: @noelrappin.com
Here are some replies:
Source: @fxn.bsky.social
Source: @rossta.net
Source: @kevinjm.bsky.social
Source: @marckohlbrugge.com
π Gregory Brown shared a thread about how to read code. I am including here just a part of the thread:
Source: @skillstopractice.com
π Zack Gilbert shared about using Pagy gem with custom select values in the query:
Source: @zackgilbert.com
οΈπ BenjamΓn Silva H. asked about if the loops benchmark can be optimized. The code is the one that runs on benjdd.com/languages
Source: @bsilva96
Among other replies:
Source: @k0kubun
Source: @timtilberg
Source: @grashalm_
οΈπ Nate Berkopec shared about enabling term_on_timeout
when using rack-timeout/doc/settings.md at main
π‘Around code (news, findings, books, and more - all about Ruby)
π‘ Emmanuel Hayford shared that Rails has a dedicated guide for Tuning Performance for Deployment
Source: @siaw23.bsky.social
π‘ Tropical.Rb asked about recommendations for people just getting started with Rails:
Source: @tropical_rb
Here are some replies:
Source: @fractaledmind
Source: @kevinvzb
Source: @fabiosammy
π‘ Marco Roth shared that www.rubyvideo.dev/contributions accepts contributions:
Source: @marcoroth_
β€οΈ Why Choose Ruby and Rails
β€οΈ Yaroslav Shmarov shared about Hotwire Native:
Miles Woodroffe added:
Source: @mileswoodroffe.com
β€οΈ Svyatoslav Kryukov shared about Rails 8 developer experience:
Source: @skryukov.dev
β€οΈ Sergy Sergyenko shared that Ruby is used to power space exploration:
Source: @sergyenko.bsky.social
β€οΈ Greg Molnar shared a code sample about Rails:
Source: @GregMolnar
π§° Gems, Libraries, Tools and Updates
π New Gems and Repos
π Yaroslav Shmarov announced a new gem hotwire_native_rails - Hotwire Native generator for Rails applications
Source: @yarotheslav.bsky.social
π Harry Lascelles announced a new gem dememoize - A rubygem to remove memoized values (instance variables) for easier testing
π Marcus Almeida announced a new gem curlify - The gem convert ruby requests(net/http) into curl command
π Samuel Williams announced a new project socketry/async-discord
Source: @ioquatix
π Svyatoslav Kryukov announced a new demo repo skryukov/inertia_rails_svelte5_ssr
Source: @skryukov_dev
π Nemo published a new gem jekyll-sqlite - A Jekyll plugin to use SQLite databases as a data source
π Adrien Siami announced a new gem Intrepidd/hyperactiveform: Simple form objects for Rails
π Onyx announced a new gem for Pinata library pinata-ruby
π§° Updates
π§°James announced a new release for mocha - Mocking and stubbing library with JMock/SchMock syntax
Source: [email protected]
π§° Mike Dalessio announced they are working on a PR to allow loading of SQLite extensions easier - easier and more flexible loading of sqlite extensions
π§° Joel Drapper announced that Literal 1.3 is out:
π§° Samuel Williams announced a new version of Add support for standard retry-after
rate limiting. Β· socketry/async-rest@d971c0c
Source: @ioquatix
π§° Janko MarohniΔ announced a new version of Release v0.6.0 Β· janko/rodauth-omniauth
π Keep an eye on
π§° Stan Lo announced an open PR for [DOC] New homepage for docs.ruby-lang.org/en by st0012 Β· Pull Request #12227 Β· ruby/ruby
Source: @_st0012
π€ Adam Wathan shared a tip about not using !important
:
Source: @adamwathan.com
π€ Kyrylo Silin shared about how JavaScript creates a global variable with the same name that references the element:
Source: @kyrylosilin
π€ Jason Swett shared about the art of abstraction:
Source: @JasonSwett
π€ Kuba Suder shared a tip about curl
Source: @mackuba.eu
More content: π π π§ π₯ βπΎ
π Hotwire Weekly published a new edition about Week 48: Super Solid Cable, Tailwind 4 beta, and more!
π Ruby On Rails published a new edition about Ruby on Rails β Rails World 2025 dates announced and more!
π Ruby Central published an article about November 2024 Newsletter
π Awesome Ruby Newsletter published a new edition about Issue 445 - Rails is better low code than low code
π§ Podcasts
π§ David Hill shared a podcast about Mina Slater
π§ Alan Ridlehoover published a new podcast about Episode 2 - So DRY It Chafes
π§ Indie Rails published a new podcast about Good Enough and the Cosmic Maelstrom
π§ JoΓ«l Quenneville and Stephanie Minn published a new podcast about 448: Other Uses for Tests
π§ Thoughtbot published a new podcast about Giant Robots Smashing Into Other Giant Robots: 552: Scaling an Online Telehealth Experience with Aakash Shah
π§ The Ruby On Rails Podcast published a new article about Episode 528: Working In Tech With ADHD with Chris Ferdinandi
π§ Jason Charnes, Chris Oliver, Andrew Mason published a new episode of RemoteRuby about Ruby Developer Experience with Vini Stock
π½οΈ π₯ Videos
π₯ Sergy Sergyenko published an Interview with Yukihiro Matz Matsumoto at Baltic Ruby
π₯ Guillaume published a new video about Deploying production, staging and review apps environments automatically with Kamal in 20 minutes
π₯ Chris Oliver published a video about Creating a Ruby Gem for Black Friday sales
π₯ Kaleb Lape published a new video about How AI Helped Me Understand My Own Rails Code Rails 2024 and about Rails 8 + AI + Tailwind The Ultimate Design System Tutorial 2024
π₯ Jason Swett published a video a video about OOP Design Interview Question - My Answer
βπΎ Articles
Whatβs new π
Chetan Mittal published an article about The Ultimate Rails Version Migration Checklist for 2025: A Complete Guide
Adrien Siami published a new article about Avoid constantize in Rails
Ayush published an article about Server-sent Events and WebSockets in Rack for Ruby
Mario Alberto ChΓ‘vez published a new article about Nobuild with Rails and Importmap
Miles Woodroffe published an article about Super Solid Cable
JP Camara published an article about My docker setup for hacking on CRuby, about Counting C method calls in CRuby and about Calculating the largest known prime in Ruby
Lucas Mendelowski published a new article about Hotwire vs HTMX vs Unpoly
Rails Designer published an article about Stimulus Features You (Didnβt) Know
Ender Ahmet Yurt published an article about Accessing Values in a Hash with dig in Ruby: Differences and Alternatives
JΓ΄natas Davi Paganini published an article about Building a Better Ruby ORM for Time Series and Analytics
Josef Strzibny published a new article about Using non-root users in Kamal
Rails Designer published an article about Inline Unsupported Browser Warning (using Rails 7.2 feature)
Mintbit Rubyland published a new article about Safe Navigation Operator vs. Explicit Nil Check: Which is Better?
Prasanth Chaduvula published an article about Rails 8 Allows drop_table To Accept An Array Of Table Names
Blazej published a new article about My Journey Through Ruby Event Manager, Hangman, and Tackling Coolant Leaks
Henrique Caltram published an article about The Decorator Pattern: A Ruby On Rails approach for data presentation logic
Daniel-Penaloza published an article about Rails API + Cache + Design Patterns
Rob Zolkos published a new article about Beware Tailwind Color Changes
Olumuyiwa Osiname published an article about Mastering Rails and Ruby: A Collection of Practical Tips for Cleaner Code
Lucian Ghinda published a new article about How to make a small pulsating animation
How-TOs π
Adrian Marin published a new article about Add Social Login to a Rails app
Stefan Wienert published an article about ZUGFeRD/X-Rechnung: create required XML+PDF invoice format for EU compliance for 2025 in Ruby + Ghostscript
Rob Zolkos published an article about Upgrading Rails applications to Tailwind 4
Chetan Mittal published an article about Rails 8 Upgrade Guide 2025: Step-by-Step Instructions for a Smooth Transition
Tom de Bruijn published an article about Switching Zellij and Vim panes with ease
Nick Charlton and Silumesii Maboshe published a new article about Automating barcode scanner tests with Capybara
Hugo Vast published an article about Handbook to migrate your Postgres from Heroku to Kamal
Gowsik Vivekanandan published a new article about Implementing Passwordless Authentication with WebAuthn in Rails
Morgana Borges published an article about Safe Navigation Operator vs. Explicit Nil Check: Which is Better?
Ahmed Nadar published a new article about Implementing Friendly URLs with UUID-Based Models
Reply