πŸ–οΈ 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 lessn 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:

🧰 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

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