Short Ruby Newsletter

Share this post

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

newsletter.shortruby.com

Discover more from Short Ruby Newsletter

A Monday summary of the articles, discussions, and news from the Ruby community
Over 3,000 subscribers
Continue reading
Sign in

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

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

Lucian Ghinda
May 8, 2023
Share this post

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

newsletter.shortruby.com
Share

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!

Support the newsletter for ~1.5$/week


๐Ÿ‘ Our Community

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

Source: https://friendlyrb.com/sponsor

(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

Source: @adarsh@ruby.social

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

Source: @flavorjones@ruby.social

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

Source: @adarsh@ruby.social

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

Source: @westoque

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

Source: @yongfook

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

Source: @blueridgeruby

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

Source: @rails

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

Source: @d_mariandev

Here are some of the answers:

Source: @RailsQuest
Source: @AaronDufall
Source: @AdamCuppy
Source: @geetfun
Source: @sebwilgosz

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

Source: /u/gaming-scientist

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:

Source: @postmodern@ruby.social

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

Source: @joeldrapper@ruby.social

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:

Source: @joeldrapper@ruby.social

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

Source: https://gist.github.com/davetron5000

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:

Source: https://ruby-doc.org/docs/keywords/1.9/Object.html#__END__-method

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

Source: @ahx@ruby.social

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

Source: @aaronhebert@ruby.social

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

Source: @strzibnyj

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

Source: @jnunemaker

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

Source: @gregnavis

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

Source: @joelquen

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

Source: @joelquen

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

Source: @nateberkopec

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

Source: @aantix

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

Source: @_swanson

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

Short Ruby Newsletter is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.


๐Ÿงฐ Gems, Libraries, and Updates

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

Source: https://github.com/sidekiq/sidekiq/blob/main/Changes.md

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

Source: https://github.com/CodingItWrong/shorten_rb

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

Source: https://github.com/joeldrapper/literal#literalvalue

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

Source: https://github.com/mrubyc/mrubyc/releases/tag/release3.2

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

Source: https://github.com/mrsked/mrsk/releases/tag/v0.12.0

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

Source: @juuh42dias

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

Source: https://github.com/doximity/simplekiq

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

Source: https://github.com/hopsoft/model_probe


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:

Support the newsletter for ~1.5$/week

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:

Source: @etagwerker@ruby.social

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

Source: @nateberkopec@ruby.social

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

Source: @JasonSwett

He later shared a summary of the replies:

Source: @JasonSwett

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

Source: @GeePawHill@ruby.social

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

Read the content edition


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:

Support the newsletter for ~1.5$/week

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

Share this post

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

newsletter.shortruby.com
Share
Previous
Next
Comments
Top
New
Community

No posts

Ready for more?

ยฉ 2023 Lucian Ghinda
Privacy โˆ™ Terms โˆ™ Collection notice
Start WritingGet the app
Substack is the home for great writing