Short Ruby News - Edition #45

Discover the world of Ruby in this comprehensive newsletter covering week 22 of 2023. Find code samples, community updates, gems, resources, and thought-provoking discussions.

You can jump directly to a section:

πŸ‘ Our Community

More content: πŸ“š πŸ—ž 🎧 πŸŽ₯ ✍🏾 (articles, podcasts, videos, newsletters, books and slides)

πŸ’Έ For only $1.5 per week (just $6.5 a month), you can become a paid subscriber and contribute to the success of the flourishing Ruby community we all adore while receiving an ad-free version of the newsletter!!

πŸ‘ Our Community

πŸ‘ Ruby Conf Th announced a new speaker for RubyConf TH 2023

πŸ‘ Helsinki Ruby announced a new conference: Oh the Humanity! 

OH!2023 is a single track conference for people who are interested in helping humanity thrive by supporting the well-being, information sharing and democracy in software development and beyond.

πŸ‘ Ruby On Rails shared about their partnership with Agency of Learning to develop Rails World app

πŸ‘ Wnb.Rb announced a new signup form at www.wnb-rb.dev/join-us

πŸ‘ I think it would be good to reply to these conversations. It would be great to have a wide range of reasons why learn Ruby or Rails in 2023. And if you have a personal blog, put that also on your blog. Few resources discuss why to learn Ruby and talk for people outside our language.

πŸ‘‰ All about Code and Ruby

πŸͺ§ Have you considered inviting your company to sponsor this newsletter? If you are using Ruby on Rails I think your company is a perfect fit :)

You can send the sponsorship packages info to your marketing, HR, or product management teams.

I'm happy to assist you with drafting an email. Simply send me a message at [email protected] I'll do my best to draft an email for you to send inside your organization.

πŸ‘‰ Tom Stuart shared a problem they encountered while trying to configure --backtrace-limit via RUBYOPT

Chris Zetter shared that this is not possible with RUBYOPT:

πŸ‘‰ Rob Yurkowski shared a code sample about using `%r()` and `%r{}`:

πŸ‘‰ I shared they will start a series of threads about code formatters. This week is about rufo. Here are two of my tweets, but I invite you to read the entire thread:

πŸ‘‰ Rob Whittaker asked a question about how Rails should handle an invalid submission in a dropdown form with scoped values based on the user's role:

Here are two replies, but you should read them all to have the context:

πŸ‘‰Alexandre Ruban shared about itself method in Ruby:

πŸ‘‰ Ruby Cademy shared about endless method syntax:

πŸ‘‰ Xavier Noria shared about loading schema when setting up a project instead of running migrations:

πŸ‘‰ Maciej Mensfeld shared they mitigated an attack on RubyGems before being able to do any harm:

πŸ‘‰ Chris Oliver shared about Rails 7 Active Record excluding method:

πŸ‘‰ Kevin Newton shared about regular expression options in Ruby:

πŸ‘‰ Jess Brown shared about a possible bug with Date in Ruby:

πŸ‘‰ Matt Swanson asked about how to limit job running on different accounts:

Here are some of the replies:

For an in-depth discussion about job fairness you should read this document by Vladimir Dementyev 

πŸ‘‰ Ruby Cademy shared a tip about using install_if in Gemfile:

πŸ‘‰Andrew Hodson shared that Rails 7.1 has support for async_pluck

πŸ‘‰ Kevin Newton shared the addition of a new instruction, opt_newarray_send, to the YARV instruction set:

πŸ‘‰ Matt Swanson shared a code sample showing how to implement with_retries:

πŸ‘‰ Adam Rice asked a question about performance query:

Here are some proposed solutions:

πŸ‘‰ Josef Strzibny shared a code sample showing how to tell ActiveRecord which index to use:

πŸ‘‰ Ruby Cademy shared a code sample showing object-to-proc technique:

🀞 I imagine that if you have read this so far, you find value in this newsletter.

🧰 Gems, Libraries, and Updates

🧰 Camilo announced the version 1.29.0 of standard

🧰 LΓ‘zaro Nixon shared a PR merged to Rails that will Fix polymorphic association subquery

🧰 Jeremy Evans announced the release of version 5.69.0 of sequel. Read the release notes

🧰 Bozhidar Batsov announced a release of version 1.52 of rubocop Read the release notes

🧰 Mari Imaizumi announced the release of version 1.7.0 of irb Read the release notes

🧰 Jeremy Hinegardner posted a discussion on Puma about Recommended way to implement plugin configuration 

🧰 Maciej Mensfeld announced a new release of Karakfa and published an article about all the changes in Karafka 2.1.0: 

🧰 ViewComponent announced the release of version 3.1.0. Read the release notes

Please consider becoming a paid subscriber to support this newsletter for just $1.5/week ($6.5/month). Your contribution aids growth and maintains the quality of ShortRuby for everybody while receiving an ad-free version:

If you consider upgrading and want more information, please read Why to subscribe to paid

🀝 Related (but not Ruby-specific)

🀝 Ryan Bates shared a tip about git checkout and going back to the previous branch:

🀝 Dr. Milan MilanoviΔ‡ shared some stats about how long software engineers stay at a job:

🀝 Reaper shared a tip about VSCode:

πŸ‘‰ Nate Hopkins shared about how performance is related to doing fewer things:

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

πŸ“š Books & Slides

πŸ“š Sandi Metz shared  that 99 Bottles β€” Sandi Metz has a 40% off discount until 13th of June.

πŸ—ž Newsletters

🎧 Podcasts

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

Talks

πŸ“½οΈ Justin Searls shared their RailsConf 2023 talk about Let's Standardize Rails!

πŸ“½οΈ Jason Swett shared an older episode from Code With Jason Meetup in Europe about How to get freelancing clients

πŸ“½οΈ Joe Masilotti published a video about Turbo Native in 15 minutes

Screencasts

πŸŽ₯ Chris Oliver announced they published a new video in GoRails Learning Path about Build a Password Manager with Rails 7 Series

πŸŽ₯ Drifting Ruby published a new episode Episode 404 - Page Not Found

✍🏾 Articles

What’s new

How-Tos

Deep Dives

Benoit shared an article from Gitlab about Efficient `IN` operator queries

Related

Lucas Barret published an article about Let's MERGE INTO Postgres !

Please consider becoming a paid subscriber to support this newsletter for just $1.5/week ($6.5/month). Your contribution aids growth and maintains the quality of ShortRuby for everybody:

If you consider upgrading and want more information, please read Why to subscribe to paid.

Reply

or to participate.