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