๐Ÿ’ป Short Ruby News - The Code Edition #41

Briefly about everything happening in Ruby world - week 18 of 2023

You can jump directly to a section:

๐Ÿ‘ Our Community

For just a small amount of $1.5 per week (only $6.5 a month), you can become a valued paid subscriber and actively support the thriving Ruby community we all love!

๐Ÿ‘ Our Community

Just a reminder that Friendly.rb conference launched a new sponsorship tier: Community sponsorship at only $1250:

(disclaimer Short Ruby is a production sponsor at Friendly.rb, and I am one of the co-organizers)

๐Ÿ‘ Adarsh announced that Ruby Central is inviting people to contribute in multiple ways. Check rubycentral.org/support

๐Ÿ‘ Mike Dalessio shared that Shopify is still committed to investing in Ruby and Rails:

๐Ÿ‘Adarsh announced that RubyCentral is re-starting the email list for community organisers:

๐Ÿ‘ William Estoque shared about the maturity of Rails framework:

๐Ÿ‘ Jon Yongfook shared about the tech stack they use to generate $50k MRR:

๐Ÿ‘ Blue Ridge Ruby announced details for group activities - Check out June 2023 in Asheville, NC

๐Ÿ‘ Ruby On Rails announced they opened the waiting list to be notified about early bird tickets - Subscribe at Rails World 2023

๐Ÿ‘ Marian D Dev asked a question that I think can be valuable for multiple people in the community:

Here are some of the answers:

๐Ÿ‘ /u/gaming-scientist asked about salary level in UK:

There are around 40 comments there comparing US and UK salaries and cost of living.

๐Ÿ‘‰ All about Code and Ruby

๐Ÿ‘‰Postmodern shared a flow that could cause buggy behavior when using `to_s` with memoization:

๐Ÿ‘‰ Joel Drapper shared a simple way to create a build factory with Ruby:

Joel shared more in their thread about building green_dots gem. Here is one of the code samples shared about implementing a let method like RSpec:

๐Ÿ‘‰Dave Copeland shared a code sample showing how to use DATA/__END__ see the gist

If you want to read more, here is the official documentation for Ruby 3.2, but you can read more details in the docs for Ruby 1.9:

๐Ÿ‘‰Andreas Haller asked about the performance of using class methods or object methods:

Here is a good explanation about how to approach this shared by Aaron Hebert:

๐Ÿ‘‰Josef Strzibny shared about the performance improvements of using Ruby 3.2 YJIT in a real-world production app:

๐Ÿ‘‰ John Nunemaker talks about his amazement with how Active Record behaves with the specified scope:

๐Ÿ‘‰Greg Navis shared a thread about disabling specific deprecation messages:

๐Ÿ‘‰Joรซl Quenneville asked about how many paths are present in the example they shared:

He then shared a flow chart that helps understanding the number of paths:

๐Ÿ‘‰ Nate Berkopec shared a performance tip about using exists? in ActiveRecord:

๐Ÿ‘‰ Jim Jones launched their new project callstacking.com 

๐Ÿ‘‰ Matt Swanson shared a code sample showing how they implemented an ApplicationJob:

๐Ÿคž I imagine that if you have read this so far, you find value in this newsletter.

๐Ÿงฐ Gems, Libraries, and Updates

๐Ÿงฐ Mike Perham announced a new version v.7.1.0 of Sidekiq Read the changelog here

๐Ÿงฐ Joel Drapper announced they are working on a new extension for literal gem: A literal Ruby gem.

๐Ÿงฐ David Heinemeier Hansson announced the release of v.0.12.0 of mrsk Read the changelog

๐Ÿงฐ Juliana Dias shared a repository rubyonrails-brasil/lizarb

๐Ÿงฐ John Wilkinson introduced a new gem called simplekiq:

Any time that you find yourself needing to string together a long chain of jobs, particularly when there are multiple stages of Sidekiq-pro batches and callbacks involved, come home instead to the simple flavor of orchestrated job flow with Simplekiq.

โ€ฆ

Note that this gem requires you be a Sidekiq Pro paid subscriber to be able to use it,

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

๐Ÿค Related (but not Ruby-specific)

๐Ÿค Ernesto shared about using code coverage as a metric:

๐Ÿค Nate Berkopec shared another argument why to keep things simple:

๐Ÿค Jason Swett shared what writing code means:

He later shared a summary of the replies:

๐Ÿค Gee Paw Hill talked about passion and joy:

You can read The Content Edition if you want to discover the content created in Ruby World in week 18 of 2023:

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.