Short Ruby Newsletter - edition 108

The one where there is a new Ruby core committer, Dragon Ruby v6.0 release, Ruby Central looking for a new board member, and so many interesting code samples.

In partnership with

Table of Contents

Please note:

Over the weekend, I moved the newsletter from Substack to Beehiiv. Although I'm still using the same domain name, the platform is now different. This change might cause some issues, so I apologize for any glitches that occurred over the weekend or may arise in the next few editions.

Three important things for you to know:

  1. The newsletter on Substack is still there but marked as private. I will keep it until I can review all the content and ensure it was imported correctly. You can access the old Substack project here.

  2. As this is a different platform, the unsubscribe process is different. So, I made a short video about how to unsubscribe to make it easier. Of course, you can always use the link at the end of the email.

  3. The email currently is [email protected] and once the sending is warmed up, it will be changed to [email protected]

Want SOC 2 compliance without the Security Theater?

  • Get the all-in-one platform for SOC 2

  • Build real-world security πŸ’ͺ

  • Penetration testing, compliance software, 3rd party audit, & vCISO

πŸš€ Launches and discounts

πŸš€ Landon Gray launched (in preview) a new framework Dashi - A Streamlit like Framework for Rubyists [Preview]

πŸ“š Josef Strzibny announced the release of the Kamal Handbook, 2nd edition for Kamal 2

πŸ“… Events

πŸ“… Avo announced a new office hours for October 18th β†’ register here β†’ Avo Office Hours [3] Β· Luma

πŸ“… Pragmatic Programmers announced a new event on Monday about An Afternoon with Pragmatic Bookshelf - Author Edition

There will also be a discount:

πŸ‘‰ All about Code and Ruby

πŸ‘‰ Ruby Central is looking for new board members Apply here

πŸ‘‰ Aaron Patterson shared that that Eileen Uchitelle was accepted as core committer for Ruby Misc #20728: Propose Eileen Uchitelle as a core committer

Source: DragonRuby

πŸ’» Code Samples

οΈπŸ’» Xavier Noria shared how to do an estimation about migrating to Zeitwerk:

οΈπŸ’» Jean Boussier shared about a bug they found in Ruby:

We found out (again as this was previously shared) in the same thread that Shopify is running Ruby master in Production:

πŸ’» Joel Drapper shared some learnings about Ruby:

There are also interesting replies and conversations around these points:

If you want to learn more about super, Avdi from Graceful Dev also published a video about Calling Superclass Methods in Ruby

Source: @gracefuldev

οΈπŸ’» Ufuk Kayserilioglu shared a code sample that can make the private methods public:

πŸ‘‰ Robert shared about how Range is working with frozen strings:

πŸ’» Bijan Rahnema shared in a comment a code sample about testing controllers with signed-in users in Rails 8 beta:

οΈπŸ’» Chris Oliver shared a code sample about synching payments after being redirected from Stripe using the Pay gem:

οΈπŸ’» Devin Starks shared a code sample about using ActiveRecord::Store:

οΈπŸ’» Josef Strzibny shared a configuration sample for Kamal 2:

οΈπŸ’» Hans Schnedlitz shared a code sample that will read the same stats as the top command in Linux:

πŸ’» Joel Drapper shared about Phlex 2 providing hints tns to Ruby language servers about HTML elements. Read the thread as Joel explain how he has achieved this.

πŸ’» Greg Navis shared a thread summarising news from Ruby and tech world:

οΈπŸ’» Joel Drapper shared a code sample showing how to build a server-side async fetched Gravatar (see full code in this Gist)

οΈπŸ’» LΓ‘zaro Nixon shared how they built an interactive checkbox wiuth Stimulus and Hotwire:

οΈπŸ’» RoR Vs Wild shared about small partials and performance:

Jean Boussier replied about this:

οΈπŸ’» Michael Chaney shared about parsing CSV files in Ruby:

οΈπŸ’» Ruby Cademy shared a code sample showing how to use Rails accessed_fields:

πŸ’» Max Chernyak shared a code sample in their article about Enums in Ruby

πŸ’» Vitaly Gambala shared they load-tested a Rails 8 app with kamal-proxy:

πŸ’» Vitaly Gambala shared

πŸ“ Thinking about Code Design

οΈπŸ“ LΓ‘zaro Nixon shared about Hey.com using nobuild:

πŸ“ Adam Fortuna shared about using oj_serializers while in the rewrite from Next.js to Rails:

οΈπŸ“ Matt Swanson shared about the differences between Rails and Laravel regarding a DSL for forms:

οΈπŸ“ Jonathan Markwell shared they are running over one million jobs with Solid Queue using SQLite:

They shared more about their current setup:

On the same topic,  William Kennedy shared the following post:

οΈπŸ“ Nate Berkopec shared about not using methods that causes SQL queries in any instance of any class:

οΈπŸ“ Jason Swett shared a page from their new book Professional Rails Testing:

οΈπŸ“ Ross Kaffenberger shared an older article about Many Small Queries Are Efficient In SQLite

Here is a quote from the article:

οΈπŸ“ Nate Berkopec shared about a perfrect transaction:

οΈπŸ“ Javi Ramirez shared moving off cloud. They shared a huge post that I cannot screenshot here, but you can read it full here.

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

πŸ’‘ Last week, there was a discussion, mostly in Japan, about Ruby and how Matz approaches Ruby. Here are some bits and pieces that I put together using Google Translate:

Another discussion last week was about UI components in Rails. I am adding here some bits and pieces from this conversations:

πŸ’‘ Hasumi Hitoshi shared that PicoRuby is looking for people to help with their documentation:

πŸ’‘ Lucian Ghinda shared a thread about directories for Ruby projects:

❀️ Why Choose Ruby and Rails

❀️ Aaron Patterson shared about Ruby and Rails:

❀️ John Nunemaker shared about showing Rails to a 20 yeard old:

❀️ John Nunemaker shared also shared:

Here is an excerpt from an article in 2005:

❀️ Vaidehi Joshi shared about using Ruby and Ruby on Rails 10 years:

❀️ Sharkey shared about using Ruby on Rails:

❀️ Calicoday shared why they love Ruby:

❀️ Axel Kee shared about trying to learn something else and going back to Rails:

🧰 Gems, Libraries, Tools and Updates

πŸ†• New Gems and Repos

πŸ†• Miguel Michelson announced they are working o na new Rails component library and they are looking for partners to build it. It will be open-source MIT licensed

🧰 Updates

🧰 Avo announced a new release Avo 3.13:

🧰 Vinicius Stock announced a new version of Ruby LSP v0.19 (read the announcements for 0.19.1 and 0.19.0)

🧰 Stephen Margheim shared about a new feature for SQLite in the up-coming relaese Database Remote-Copy Tool For SQLite

🧰 Jorge Manrubia announced a new version of Release v2.1.6 Β· basecamp/trix

🧰 David Rodrigues announced a new version of RubyGems - v3.5.21

🀝 Typecraft shared their journey. I am including here just one post, but you should read the entire thread:

🀝 Ryan Bates shared about macOS defaults list

🀝 Jason Fried shared a thread about how they work with pitches and estimates. Here I am including one of the posts in that thread:

🀝 Kevin Grajeda announced a new project TailwindMotion:

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

Vladimir Dementyev shared their slides from the Rails World presentation about Ruby on Rails on WebAssembly

πŸ—ž Newsletters

πŸ—ž Any Cable published a new edition about Any Cables Monthly #23: it's a Rails, Rails World!

πŸ—ž Greg Molnar published a new edition of This Week in Rails about Make Float distinguish between float4 and float8 in PostgreSQL and more

πŸ—ž Ruby Weekly published a new edition about A smorgasbord of Rails 8 related updates

πŸ—ž Hotwire Weekly published a new edition about Week 40 - Why Your Turbo Form Submission Fails, Hotwire Native content, and more!

πŸ—ž Ruby Libhunt published a new edition of Awesome Ruby Newsletter - edition 437

🎧 Podcasts

🎧 Adrian Marin published a new podcast about Caleb Porzio: Crafting Open Source Dreams and Financial Freedom with Flux

🎧 Indie Rails published a new episode about Justin Duke - Building the Product You Want and another episode about Hanging with Remote Ruby

🎧 Ode To Rails Conf published a new podcast about Cody Norman

🎧 Maintainable Software Podcast published a new podcast about April Wensel: Navigating Legacy Code with Compassion

🎧 Software Huddle published a new podcast about Blocking Bots & Moving from Redis to SQLite with Mike Buckbee

🎧 Obie Fernandez published an audio recording describing their book β€œPatterns of Application Development Using AI”

🎧 The Bike Shed published a new podcast about 442: Paradigms - What is a Program?

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

πŸŽ₯ The Primegean published a reaction video about the DHH Keynote at Rails World β†’ Rails World Is So Good

πŸŽ₯ David Heinemeier Hansson published a new video about Kamal 2

πŸŽ₯ Graceful.Dev published a new video about Calling Superclass Methods in Ruby

πŸŽ₯ Ruby Cademy published a new video about Symbol-to-Proc vs Method-to-Proc 

πŸŽ₯ Chris Oliver published a new video about GoRails: Customizing Rubocop Rails Omakase Rules

πŸŽ₯ Drifting Ruby published a new video about Solid Queue v1.0.0 | Drifting Ruby

✍🏾 Articles

What’s new πŸ†•

Aaron Patterson published a new article about Eliminating Intermediate Array Allocations

David Heinemeier Hansson published a new article about Wonderful Rails World Vibes

Robert Pankowecki published an article about Stop adding constants in the wrong place

Miha Rekar Radan Skoric published an article about Migrating from Devise to Rails Auth before you can say "Rails World keynote"

Josef Strzibny published a new article about Upgrading from Kamal 1 to Kamal 2

Lucian Ghinda published an article about Directories for Ruby and Ruby on Rails Companies

Olly Chadwick published an article about Hunting for Gems

Stanislav Katkov published a new article about Marrying Tailwind with Jekyll

Robert Pankowecki published a new article about Stop adding constants in the wrong place

Miles published a new article about Rails World 2024! | Miles Woodroffe

Greg Molnar published a new article about Rails World 2024

Brandon Weaver published an article about Let’s Read - Eloquent Ruby - Ch 21 and about Let’s Read - Eloquent Ruby - Ch 22

How-TOs πŸ“

Rails Designer published an article about ActiveStorage Direct Upload with Stimulus

Andy Waite published a new article about An Introduction to the Ruby LSP Add-on System

Jeffery Morhous published an article about A practical guide to web scraping with Ruby

Victor Cobos published a new article about How to Create Custom Error Pages in Rails

Haseeb Annadamban published a new article about Rails 8 Authentication Generator With User Registration

PaweΕ‚ ŚwiΔ…tkowski published an article about Mruby: Beyond hello world

Jeff Morhous published an article about How to Fix Tricky Sidekiq Memory Issues

Victor Shepelev published a new article about On programming and poetry (not Python’s tool)

Reply

or to participate.