๐Ÿ’ป 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

๐Ÿ‘‰ย All about Code and Ruby

๐Ÿงฐย Gems, Libraries, and Updates

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

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

๐Ÿงฐ Josh Justiceย shared their gem shorten_rb: A simple Rails link shortener that respects privacy

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

๐Ÿงฐ Hasumi Hitoshiย announced the release of version 3.2 for mruby/c (another implementation of mruby)ย Read the release notes

๐Ÿงฐ 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,

๐Ÿงฐ Nate Hopkinsย announced a new version of their gem model_probe: ActiveRecord schema visualization and model organization made easy

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

All issues