Short Ruby News - Edition #99

Stay up-to-date on the latest launches, events, code samples, videos, and articles in the Ruby world. Don't miss out on what's happening in our community!

You can jump directly to a section:

πŸš€ Launches & πŸ“… Events

πŸ‘‰ All about Code and Ruby: πŸ’» Code, πŸ“Code Design,πŸ’‘Around, ❀️ Why Choose Ruby

🧰 Gems, Libraries, and Updates: πŸ†• New, 🧰 Updates

πŸš€ Launches and discounts

πŸš€ Julian Rubisch launched the overhaul for betterstimulus.com

πŸ“… Events

πŸ“… Ruby Conf announced Tickets are on sale 

πŸ“… Richie Khoo announced that tickets are on sale for  Ruby Retreat 2024:

πŸ“… Irina Nazarova announced that on August 13 YCombinator will be hosting the SF Ruby meetup:

πŸ“… Nairuby shared they are looking for companies that use Ruby in Kenya. Please fill out the linked form:

 

πŸ“… Meetups and conferences around the world happening this week:

πŸ‘‰ All about Code and Ruby

πŸ‘‰ Takashi Kokubun announced Ruby 3.3.4 Released

There is also a Release Schedule presented:

Postmodern announced that ruby-install supports Ruby 3.3.4 Released

πŸ‘‰ David Heinemeier Hansson shared Solid Queue now runs close to 20 million jobs daily

πŸ’» Code Samples

οΈπŸ’» Matt Swanson shared a tweet demonstrating the power of the Hash#dig method

πŸ’» Haseeb shared Ruby’s deep_merge method works

πŸ’» Xavier Noria shared how bin/rails runner can go inside a shebang. Really helpful for the one-off scripts

οΈπŸ’» Nate Hopkins shared about documenting complex Rails partials with strict locals:

πŸ’» Greg Navis shared a thread on ActionDispatch::RequestId. This thread will help deepen you’re understanding of the Rails middleware:

οΈπŸ’» Ruby Cademy reminded us that Ruby allows function composition:

πŸ’» Ro Rvs Wild shared about using any?, exists? and present?

πŸ’»οΈ sczi published a script to add fzf completions in IRB (see it in action in this short video):

οΈπŸ’» Ismael Celis shared an example of how a declarative Ruby data structure looks like in action.

πŸ’» Okura Masafumi shared a code sample showing how nested attributes can be used from  alba - is a JSON serializer for Ruby, JRuby and TruffleRuby:

οΈπŸ’» Ahmed Nadar shared about using OOP in WriteBook:

οΈπŸ’» Haseeb shared how handy ActiveSupport’s delegate method

οΈπŸ’» Haseeb shared how we can use update_all to move calculations to the DB for increased performance

πŸ’» Ruby Cademy shared how to use regex constraints to validate dynamic segments in routes

πŸ’» Valentino Stoll shared a code sample using Sublayer to generate RSpec files:

πŸ’» Haseeb shared how ActiveSupport’s `in?` method works in action

οΈπŸ’» Haseeb shared about sanitize_sql_array method in Rails:

πŸ“ Thinking about Code Design

οΈπŸ“ Svyatoslav Kryukov shared a thread on how we the alternative approach to building web applications using Vite/Interjia.js works.

Here is a reply from DHH:

οΈπŸ“ Lucian Ghinda asked Akinori MUSHA about the introduction of hash value omission

Akinori took the time to respond:

οΈπŸ“ John Pollard asked about usage of defining namespaces:

Here are some replies:

πŸ“ ️Greg Navis shared a thread on working with the `itself` method. The Twitter thread details how he used it.

πŸ“ Avi Flombaum shared how he works with restful APIs - here is the code sample for the client:

οΈπŸ“ Greg Navis shared a detailed thread about how reset_association and reload_association work.

πŸ“ Michael Chaney shared why naming things is very important.

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

πŸ’‘ Joel Drapper shared about how Heroku influences the adoption of PostgreSQL:

There are a lot of replies to this post, here are some of them:

And here are some other posts (not direct replies to Joel question but related):

❀️ Why Choose Ruby

❀️ Amanda Brooke Perino shared she’s noticed a definite uptick on the Rails Job Board

❀️ Keshav Biswa shared how easy it was upgrade his hobby projects.

🧰 Gems, Libraries, Tools and Updates

πŸ†• New Gems and Repos

🧰 Updates

🧰 Vinicius Stock announced a new version of Ruby LSP

🧰 Janko MarohniΔ‡ πŸ’™πŸ’› announced a new version of Minimagick v5.0.0

🧰 Jason Zimdars announced a new version of ONCE Writebook - Changelog

🀝 Related (but not Ruby-specific)

🀝 Mike Dalessio shared about their career change:

🀝 Gokul ⚑️ shared fabulous Career advice over this twitter thread. Do give it a read:

🀝 Adrian Marin shared a detailed thread on domain hunting

🀝 Zed shared Zed on Linux is here!

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

πŸ—ž Newsletters

πŸ—ž Ruby Weekly published a new edition about All the talks from RailsConf

πŸ—ž Hotwire Weekly published a new edition about Week 28 - RailsConf 2024 videos, managing connection avalanches, and more!

πŸ—ž Awesome Ruby Newsletter published a new πŸ’Ž Issue 425

🎧 Podcasts

🎧 The Ruby on Rails podcast published a new podcast about Joel Hawksley on Web Accessibility

🎧 Creston Jamison published a new podcast about PgBouncer Breaking Change | Scaling Postgres 323

🎧 The Bike Shed published a new podcast about The Bike Shed: 432: The Semantics and Meaning of Nil

🎧 Ruby Rogues published a new podcast about Choosing the Right Audit Trail Approach in Ruby

πŸ“½οΈ πŸŽ₯ Videos

Screencasts

πŸŽ₯ Rails Conf published RailsConf 2024 Videos

πŸŽ₯ Igor Alexandrov published a new video about the ONCE’s Writebook codebase

πŸŽ₯ Collin published a new video about Exploring the new Rails console prompt

πŸŽ₯ JuliΓ‘n PinzΓ³n published a new video about Discovering Turbo 8 refreshes in Ruby on Rails

πŸŽ₯ Arkency published a new video about Build Read Models with Subscription Checkpoint + Testing concurrency!

✍🏾 Articles

✍️ Ryan Bigg published a new article about Debugging Checklist

✍️ Julian Rubisch published a new article about Stimulus - Adding Markers to a Wavesurfer Element

✍️ Jijo Bose published a new article about Rails 7.2 Adds app:update Task to be a Rails Command

✍️ Vladimir Dementyev published a new article about how to deal with connection avalanches when working with Websockets

✍️ Prasanth Chaduvula published a new article about Rails Add ActiveRecord.after_all_transactions_commit Callback | Saeloun Blog

✍️ Ben Sheldon published a new article about Notes from Carrierwave to Active Storage

✍️ Prasanth Chaduvula published a new article about Puma-dev And Using It With Rails Applications

✍️ Jijo Bose published an article about Rails 7.2 Adds app:update Task to be a Rails Command

What’s new πŸ†•

πŸ†• Jason Zimdars published a new article about Tools for builders

πŸ•΅οΈ Deep-Dive

πŸ•΅οΈ Peter Zhu published a new article about Finding Memory Leaks in the Ruby Ecosystem

πŸ•΅οΈ Matt Stuchlik published a new article about Syscall Showdown: Python vs. Ruby

πŸ•΅οΈ Mohammad A. Ali published a new article about The Write Stuff: Concurrent Write Transactions in SQLite

πŸ•΅οΈ Cj Avilla published a new article about Common Sense Troubleshooting For Web Devs

How-TOs πŸ“

πŸ“ Harut Margaryan published a new article about Using Async in Ruby on Rails for CSV export - DEV Community

πŸ“ Kevin Murphy published an article about Access Request Headers in a Rails Controller

πŸ“ Ganesh K. published a new article about Deploy Rails with Capistrano, Puma, Nginx

πŸ“ Rails Designer published a new article about Add a custom Tailwind CSS class for reusability and speed

Related

✍️ My Sql announced the launch of MySQL 9.0

✍️ Zeno Rocha published a new article about Spotflow’s journey towards better email deliverability - part 1

Reply

or to participate.