Short Ruby News - Edition #68

Discover the world of Ruby in this comprehensive newsletter covering week 46 of 2023. Find code samples, community updates, gems, resources, and thought-provoking discussions.

You can jump directly to a section:

๐Ÿš€ New Products & ๐Ÿ“… Events

I will send a special edition newsletter with more Black Friday deals (like the ones below) for Ruby developers on Wednesday or Thursday. If you have a product built with Ruby or a product/service/book/course for Ruby developers and offer a discount, please write to me at [email protected] by Tuesday morning to include it in the special edition. 

[Sponsors โฌ‡] (with affiliate links - use them to support this newsletter)

Business Class kit is a Rails SaaS template integrated with Paddle and offers a lot of already built-in functionality out of the box. Buy at 60% discount (affiliate link)

Say goodbye to Ruby installation issues on your Mac with Ruby on Mac. You will always be less than 15 minutes away from a clean Ruby dev setup. Use discount codes at RubyOnMac.dev (affiliate link)

๐Ÿš€ New Products

๐Ÿš€  Ryan Caldwell launched a new Rails SaaS Template

๐Ÿ“… Events

๐Ÿ“… Thoughtbot announced that The Ruby devroom is back at FOSDEM. You can submit a talk at fosdem.rubybelgium.be:

๐Ÿ“… Sergy Sergyenko announced a new Ruby conference:

๐Ÿ‘‰ All about Code and Ruby

๐Ÿ‘‰ Stan Lo shared about the recent progress of IRB:

๐Ÿ‘‰ John Nunemaker shared about organizing tests so that they can be removed easily when the feature is deleted:

๐Ÿ‘‰ Helio Cola shared about the memory performance on Fly.io running on jemalloc:

๐Ÿ‘‰Prem Sichanugrist shared a code sample simulating an Enumerable#pluck that would go through methods:

๐Ÿ‘‰ Yaroslav Shmarov shared a code sample about creating a component for Rails 7:

๐Ÿ‘‰ Bhumi shared about Ruby tap method:

๐Ÿ‘‰ Lucas Barret asked about Ruby classes:

Here are some replies about this topic:

Lucas asked another good question about:

๐Ÿ‘‰ Pragmatic Programmers shared a photo from the beginning of RubyConf in 2001:

๐Ÿ‘‰ Brian Armstrong shared about the Rails documentary:

๐Ÿ‘‰ Xavier Noria announced they are working on a book:

๐Ÿ‘‰ Willem Spruijt shared about the decision to use Ruby:

๐Ÿ‘‰ John Nunemaker shared about ActiveSupport Gzip:

Donโ€™t forget to check the two sponsors of this edition: - Business Class kit is a Rails SaaS template integrated with Paddle and offers a lot of built-in functionality to get started. Buy with 60% discount (affiliate link)- Ruby on Mac - Get a clean Ruby dev setup in just 15 mins. Use discount codes (GETUNSTUCK50 or GETUNSTUCK40) at RubyOnMac.dev (affiliate link)

You can get an ad-free experience for only $7.5/month and help us maintain our quality for everyone.

๐Ÿ‘‰ Chris Wanstrath shared that Ruby on Rails was a big part of Github early success:

๐Ÿ‘‰ Georgie Boy shared a code sample showing PhlexUI::Base:

๐Ÿ‘‰ Sebastian Wilgosz shared a diagram about Hanami:

๐Ÿ‘‰ Naofumi Kagami ๅŠ ใ€…็พŽ็›ดๅฒ shared about Ruby community:

๐Ÿ‘‰ Ruby For Good shared why they choose Ruby and shared the A peak behind the curtain article from the creator of Lectronz:

๐Ÿ‘‰ David Heinemeier Hansson shared the discussion on HackerNews (currently at 239 comments) about Ruby on Rails: The Documentary [video] 

๐Ÿ‘‰ Josef Strzibny asked about running a background job while waiting for a sync result from the job:

Here are some of the replies:

๐Ÿ‘‰ Naofumi Kagami ๅŠ ใ€…็พŽ็›ดๅฒ shared about logic in controller and views:

๐Ÿ‘‰ Joe Masilotti shared about how small the iOS quick start guide will be after Turbo Navigator will be merged:

๐Ÿ‘‰ Dhaval Singh shared about the difference between .to_i and .to_int in Ruby:

๐Ÿ‘‰ Matt Swanson shared about using separate Redis databases:

๐Ÿ‘‰ Rob Zolkos asked about the magic comment for frozen string literals:

Here are some of the replies:

And there were a couple of resources recommended:

๐Ÿ‘‰ Rob Lacey shared about a possible bug in Rails 6.1 date_select:

๐Ÿ‘‰ Ryan Bates shared about using class methods and extracting POROs through refactoring:

๐Ÿ‘‰ Stanislav Katkov asked about which gem documentation we are reading most often:

The replies so far mention: rspec, sidekiq, devise, nokogiri, view_component, shoulda, capybara, bullet_train, jbuilder, jbuilder-schema, graphql-ruby, syntax_tree, dry-rb, warden, pundit, ransack.

๐Ÿ‘‰ Naofumi Kagami ๅŠ ใ€…็พŽ็›ดๅฒ shared about how they see Rails controllers:

๐Ÿ‘‰ Ufuk Kayserilioglu shared they are part of the new RubyCentral board

๐Ÿ‘‰ Nate Hopkins shared why it is important to master ActiveRecord:

๐Ÿ‘‰ Mika Henriksson asked about how to solve a Rails error:

Here are two solutions:

๐Ÿ‘‰ I shared a thread where I reviewed an open-source web app (read it on nitter or ruby.social):

๐Ÿ‘‰ u/stevecondy123 asked on /r/rails about Rubymine and VScode:

Please consider becoming a paid subscriber to support this newsletter for just $1.8/week ($7.5/month), and you will receive an ad-free version. Your contribution aids growth and maintains the quality of ShortRuby for everybody.

๐Ÿงฐ Gems, Libraries, Tools and Updates

๐Ÿ†• ๐Ÿงฐ Mike Perham announced a new native UI for Sidekiq Sidekiq desktop app

๐Ÿงฐ Koichi Ito shared that Rubocop VSCode extension is available on Open-VSX Registry:

๐Ÿงฐ Alex Rudall announced that ruby-openai now supports the new Text to Speech API:

๐Ÿ†• ๐Ÿงฐ Mark Godwin announced a new gem mgodwin/rails_observatory: Metrics Tracking for Rails Apps

๐Ÿงฐ Joel Moss announced a new release for proscenium

๐Ÿงฐ Yuichiro Kaneko announced a new release for Release v0.5.10 ยท ruby/lrama

๐Ÿ†• ๐Ÿงฐ Enrico announced a new gem plucker - Pluck database records in structs

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

๐Ÿค Bart Veneman shared about using form.requestSubmit() to trigger validation:

๐Ÿค Kelsey Hightower shared about senior engineers:

๐Ÿค Ryan Bates shared about the advantages of verbosity:

๐Ÿค Adam Wathan shared about using forced-colors to test the UI:

๐Ÿค William Kennedy shared about misconceptions about development and marketing:

๐Ÿค Ryan Bates shared about different types of refactoring:

๐Ÿค Dave Paola shared advice from Simmon Li: 

More content: ๐Ÿ“š ๐Ÿ—ž ๐ŸŽง ๐ŸŽฅ โœ๐Ÿพ

๐Ÿ—ž Newsletters

๐Ÿ—ž๏ธ Ruby Weekly published a new edition about IRB adds type-based completions

๐Ÿ—ž  Greg Molnar published a new edition about Open redirect vulnerabilites in Rails apps

๐Ÿ—ž Ruby Libhunt published a new edition about Awesome Ruby Newsletter - Issue 391, Nov 16, 2023

๐Ÿ—ž Sajjad Umar published a new edition about Ruby on Rails - November 2023

๐Ÿ—ž Harrison Broadbent published a new edition about The RailsNotes Newsletter ISSUE #19

๐Ÿ—ž Ruby Radar published a new edition about Post-Conference Hangover Cure

๐ŸŽง Podcasts

๐ŸŽง Indie Rails published a new podcast about John Nunemaker - Rolling with Flipper

๐ŸŽง Lucas Barret published a new podcast about GemRuby Show: Xavier Noria, Zeitwerk

๐ŸŽง Matt Swanson published a new episode about YAGNI | Testing w/ Josh Pigford

๐ŸŽง The Bike Shed published a new podcast about The Bike Shed: 406: Working Solo

๐ŸŽง Ruby For All published a new podcast about Ruby Mastery and Community Love with Ufuk Kayserilioglu

๐ŸŽง Remote Ruby published a new episode about Rails World 2023 Recap &Amp; Rails Foundation Plans With Amanda Perino โ†’ โ€œ

๐ŸŽ™๏ธ Talks, Slides and Conference Talks

๐ŸŽ™๏ธ Jeremy Evans shared their slides for the talk about The Second Oldest Bug

๐ŸŽ™๏ธ Andy Obtiva published a new article about Slides & Code for RubyConf 2023 Workshop "How To Build Desktop Applications in Ruby"

๐Ÿ“ฝ๏ธ ๐ŸŽฅ Videos

Screencasts

๐ŸŽฅ Scott Yang published a new video about Rails World Amsterdam 2023

๐ŸŽฅ Jason Swett published a new podcast about Refactoring Code for a Lego Robot

โœ๐Ÿพ Articles

Whatโ€™s new ๐Ÿ†•

Ryan Bates published a new article about RailsCasts Retrospective Part 2: The Fire

Maxime Chevalier published a new article about YJIT Is the Most Memory-Efficient Ruby JIT

Kevin Murphy published an article about Ruby Conf 2023 Recap

Vladimir Dementyev published a new article about Freezolite: the magic gem for keeping Ruby literals safely frozen

Radan Skoric published an article about Preventing Bugs In Ruby: Tools Of The Trade

I published an article about Inspiring Ruby On Rails Project Ideas

Gowsik Vivekanandan published an article about Rails 7.1 Adds Support For Message Pack As Message Serializer

Prasanth Chaduvula published a new article about Rails 7.1 Introduces ActiveRecord::Base::generates_token_for

Deep Dives ๐Ÿ”

Stephen Margheim published a new article about SQLite Table Schema and Metadata

Noel Rappin published an article about Better Know A Ruby Thing Bonus: Contestants And Nesting

I published an article about Feedbin: Ruby Open Source RSS Reader

How-Tos ๐Ÿ“

Julian Rubisch published an article about Handle Incoming Webhooks With Lite Job For Ruby On Rails

Cloud 66 published a new article about Deploying Hanami 2.0 Ruby application on AWS

Brad Gessler published a new article about Rename a RubyGem

Stanko Krtaliฤ‡ published an article about Tracking Online Presence With Action Cable and about Tracking online presence with ActionCable

Mayank Agnihotri published an article about Integrate Google Calendar Api Into Rails Application

Akshay Khot published an article about How To Return 404 Not Found Error In Rails

Dennis Paagman published a new article about Structuring return data

Petr Hlavicka published an article about Gem Credentials Management With Gemstash

Valerie Woolard published a new article about How to Use pgvector for Similarity Search on Heroku Postgres

Dรฉlon Newman published an article about Tidy Code โ†’ How To Generate Unique Names With A Value Object

Samuel de Moura published an article about Flaky Visual Regression Tests, And What To Do About Them

Related

Kent Beck published a new article about TDD Outcomes

David Copeland published an article about What Is Web Components Buying us?

Please consider becoming a paid subscriber to support this newsletter for just $1.8/week ($7.5/month), and you will receive an ad-free version. 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.