πŸ’» 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

🧰 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.