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

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

You can jump directly to a section:

The content section that includes videos, talks, screencasts, podcasts, newsletters, and articles can now be found in The Content Edition (and sent in a separate email).

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!

By contributing, you'll be playing a pivotal role in fostering growth and maintaining the high standards of ShortRuby for everyone to enjoy.

๐Ÿ‘‰ All about Code and Ruby

๐Ÿ‘‰Nate Hopkins shared a sample code and a gist about ActiveJob as Service Worker

There is a good discussion in the replies to Nate proposal. I picked here a couple of the replies:

๐Ÿ‘‰ Ingemar shared how to run your gem documentation server:

๐Ÿ‘‰ Greg Navis shared a thread about Enumerable#all? Here is one of the posts shared:

๐Ÿ‘‰Nate Berkopec shared a tip about using preload and eager_load

๐Ÿ‘‰Postmodern asked about suggestions to split a hash into a value for a key and the rest of the hash:

There are some good replies there, here are three of the proposed solutions:

๐Ÿ‘‰Dr Nic Williams asked for recommendations for building an admin section:

Here are some recommendations:

๐Ÿ‘‰ Greg Navis shared a thread about counting objects with Enumerable. Here is one of the tips shared in Greg thread:

๐Ÿ‘‰Brad Gessler shared an excellent comparison of components and partials in a thread where he presented an article about Component driven development on Rails with Phlex

๐Ÿ‘‰ u/A_little_rose/ presented a dilemma about how to work with class instance variables

You should read the proposed solution and the discussions on /r/ruby about this. Here is one of the answers:

๐Ÿ‘‰ Greg Navis shared a thread about extracting file name, directory name and extension from a file path:

๐Ÿ‘‰Andrew Mason asked about recommended gems of all time:

Andrew announced they would write an article and share it on RubyForAll thus, I will not compile here the list of recommended gems from the replies.

๐Ÿ‘‰Maciej Mensfeld announced support for iterating through Kafka topics with Iterator API - Karafka framework documentation

๐Ÿ‘‰Vincent Rolea shared a short thread about how simple it is to discard a modal with Turbo:

๐Ÿ‘‰Andrew Mason asked a question about productivity hacks:

Here are some suggestions:

  • Listening to music (genre suggested rap, dubstep

  • Using an app like Centerer app

๐Ÿ‘‰Matt Swanson shared a piece of code showing how to use the ~* postgres operator:

๐Ÿ‘‰Robby Russell asked about recommendations for site generators that build pages for a collection of records from RESTful API:

Here are some recommendations:

๐Ÿ‘‰ u/Plastic_Magician_420 shared the following answer to a question if Ruby is slow:

๐Ÿงฐ Gems, Libraries, and Updates

๐Ÿงฐ Avo announced a new release v2.30.2 Read the changelog

๐Ÿงฐ Joel Drapper announced they released version 1.0 of phlex-rails. Read the changelog

๐ŸงฐKarl Oscar Weber announced the release of version 3.0 (and small updates v.3.0.1 and v.3.0.2) for Camping. Read the release notes for v3.0

๐Ÿงฐ Justin Searls announced the release of version 1.28.0 of standardrb/standard gem:

๐Ÿงฐ Koichi Ito announced the release of v0.6.0 for tmm1/test-queue (a parallel test runner specifically optimized for CI environments)

๐Ÿงฐ Ronin Rb announced the plan for Phase 2 | Ronin

๐Ÿงฐ Ruby On Mac shared that their software can now help to install Ruby < 2.5.9 on Apple Silicon

๐Ÿงฐ Eric Berry shared a new gem they discovered called Boxcars AI:

๐Ÿงฐ Igor Kasyanchuk published a new gem called lazy_value about:

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)

๐ŸคKevin Murphy shared a new feature of headless chrome Read more here

๐ŸคKent Beck shared about AI:

You might want to consider reading the two articles Kent wrote as a follow-up to this tweet: 90% of My Skills Are Now Worth $0 and More What, Less How

๐ŸคPaul shared a piece of knowledge from Uncle Bob about naming:

๐ŸคGustavo Valenzuela shared a bash code for opening a remote repo with branch param from terminal:

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

Reply

or to participate.