

Discover more from Short Ruby Newsletter
This edition was created with the help ofΒ Adrian MarinΒ fromΒ Avo for Ruby on Rails (a friendly full-featured Rails admin panel) and Jakob CosoroabΔ.
You can jump directly to one of the following sections if you like:
π Our Community
π§° Gems, Libraries, and Updates
π€ Related (but not Ruby-specific)
More content: π₯ π§ π (articles, podcasts, videos, slides, and newsletters)
π Our Community
π Yukihiro MatzΒ sharedΒ a link to the YJIT Benchmarks website:

π Mark Mayo announced they are willing to support a Rails dev to implement some auth improvements for Mastodon:

π Le Wagon MontrΓ©alΒ shared an online free event they are organizing aboutΒ Landing your first rails job - with Joe Masilotti

π AyushΒ launched the full bookΒ The Rails and Hotwire Codex

πRuby For AllΒ asked the community some questions and it would be great if we can help them and answer them:

π Joe MasilottiΒ launched a new Turbo Native workshop

π Ruby ConfΒ sharedΒ a new Home Edition | RubyConf 2022:

π Rails Girls The NetherlandsΒ announced they are organising a new edition ofΒ Rails Girls NL

π Dave Kimura announced a forum section for Drifting Ruby:

π Brandon Weaver announced voting on rubylearning.dev to choose the next course:

π Brett Chalupa announced their free book about Building Games with Dragon Ruby
π All about Code and Ruby
π Nate HopkinsΒ sharedΒ a Replit to play with toggle reflex behavior Replit

π Emmanuel HayfordΒ shared a Rails 7.1 tip for keeping log files from taking over disk space:

π Stan Lo shared the difference between REPL and a debugger:

π Greg NavisΒ shared a code sample showing how to build URI in Ruby:

π Kirill ShevchenkoΒ shared a code sample showing how to use Rails explain to debug slow queries:

π Scott Watermasyk shared why Phlex.fun could be a good choice:

π Emmanuel HayfordΒ shared a Rails command to show unused routes (coming in Rails 7.1):

π Postmodern started a good discussion about where we can use Ruby for rapid prototyping:

There is a good discussion about how to distribute Ruby as a step for use in other areas (like CLI apps, for example).
π Greg NavisΒ shared an example of using whitespace and comments inside the Regexp:

π Shugo MaedaΒ sharedΒ a Ruby PR that will Disallow mixed usage of ... and */**
It seems like the proposed change will be:
You can read the discussion about this feature in the Ruby issue tracker
πJoΓ«l QuennevilleΒ shared a nice piece of code showing the readability of case instead of nested ifs:

π Greg NavisΒ shared aRails tip to use invert_where

πKirill ShevchenkoΒ shared a code sample showing how to use TracePoint to track the code call stack:

πGreg NavisΒ shared a thread exploring various query performance in Rails:

π Andrew Atkinson asked about what PostgreSQL topics are missing:

There are a lot of good replies. Andrew summarized them in an article on their blog:
πJeremy SmithΒ shared a piece of code about how to remove Active Storage attachments:

If you have read so far and you like the content, maybe you take into consideration sharing this and subscribing:
π§° Gems, Libraries, and Updates
π§° Vinicius StockΒ shared a newΒ Release v0.3.7. Read the changelog
π§° Donn FelkerΒ sharedΒ their template for running Middleman with Tailwind 3 middlemanapp-tailwindcss-template: A Middleman Template that includes support for Tailwind CSS 3+
π§° Brad GesslerΒ sharedΒ the release of Sitepress 4.0. You can see how this is used to power Joe Masilotti blog in this Github repo
π§° Joel Drapper shared a new release of literal_enums 2.0
π§° SethΒ sharedΒ a new gem called fruit_juice:
FruitJuice is a job enqueuing adapter for theΒ mosquito background job processorΒ written inΒ Crystal. If you're here to find out how to enqueue background jobs from Ruby/Rails and have them processed in Crystal, you've come to the right place!
π§° Jeremy EvansΒ published a new release ofΒ Roda 3.63.0 Read the release notes
π§° Greg MolnarΒ published a new gem calledΒ prepper:
Prepper is a simple server provisioning tool, built on top of SSHKit. You can use it to script your server build process.
π§° Janko MarohniΔΒ shared that rodauth-rail will support tailwind:

π§° Janko MarohniΔΒ shared a hanami-rodauth-example repository
π€ Related (but not Ruby-specific)
π€ Drew BraggΒ shared a piece of learning about design decisions:

π€Ryan BatesΒ shared a metaphor about building software:

π€Dan KoeΒ shared a nice image showing the difference between focused work and distracted work:

π€ Miron MarczukΒ shared a thread about how to grow to senior level:

There are a lot of good points in the thread. I am adding here only two of them that talks about senior skills:

π€ Jason SwettΒ shared an advice to focus on environment:

π€ Nate HopkinsΒ shared a nice way of looking at Best Practices:

π€ Nate BerkopecΒ shared a piece of wisdom about processes and failure:

More content: π₯ π§ π
Slides
Yukihiro MatzΒ sharedΒ the slides from Noah Gibbs presentation at RubyConfTh: YJIT Resources
Newsletter
π Emmanuel HayfordΒ published a new edition of This Week in Rails:Β Documentation on preloading STIs, TimeHelpers improvement, etc
π Women on Rails published a new edition of their International Newsletter #41
πΒ Ruby RadarΒ published a new edition:Β Ruby Radar #81
ποΈΒ Ruby WeeklyΒ published a new edition:Β Ten days till Ruby 3.2..
ποΈΒ Ruby LibHuntΒ published a new edition of theΒ Awesome Ruby Newsletter
Podcasts
π§ Jason SwettΒ publishedΒ a new episode from Code with Jason "Vanilla Rails is Plenty" with Jorge Manrubia of 37signals
π§ The Ruby on Rails PodcastΒ published a new episodeΒ Episode 448: Turbo Native Workshop with Joe Masilotti
π§ Ruby For AllΒ published a new episodeΒ about The Holidays - Unleash Your Empathy and Spread Good Cheer
π§ Remote RubyΒ published a new episodeΒ Active Record Cookbook & Making Bomb Rails Apps
Videos
π₯ Drifting RubyΒ sharedΒ a new video Episode 379 - Cloudflare Turnstile
π₯ Creston JamisonΒ shared a new episode aboutΒ Scaling Postgres Episode 245 ENUMs vs Check Constraints, Faceting With Roaring Bitmaps, Better Scaling, In DB Business Logic
π₯ Andrew AtkinsonΒ sharedΒ an old (2016) videos about Postgres Open 2016 - Identifying Slow Queries and Fixing Them!
π₯ Emily SampΒ published a video of herΒ Solving Advent of Code with Ruby and Sorbet
π₯ CJ Avilla shared a series of videos solving Advent of Code 2022 with Ruby:
You can check the entire list in the videos section on his website
π₯ Drifting RubyΒ published the video ofΒ This Week in Rails - Dec 16th, 2022
π₯ Tom StuartΒ published a new episode ofΒ Making a WebAssembly interpreter in Ruby, part 23
π₯ Avdi GrimmΒ shared the first episode of RubyTapasΒ Binary Literals in Ruby
π₯ DeaninΒ published a new video aboutΒ Sidekiq Background Jobs With Admin Dashboard | Ruby On Rails 7 Tutorial
Articles
Jason CharnesΒ sharedΒ a new article they wrote about Railsβ safety mechanisms
Aurelie Verrot wrote an article about Globalization
Stan LoΒ published a new article describingΒ What's new in Ruby 3.2's IRB?
ThoughtbotΒ shared an article written by Stefanni Brasil aboutΒ How to Fix Rails 6.1 'Initialization autoloaded the constants' Warning Messages
Adrian MarinΒ sharedΒ an article about how to Sort a Ruby array
Kevin Newton continued to write Advent of YARV:
Advent of YARV: Part 12 - Global variables
Advent of YARV: Part 13 - Constants
Advent of YARV: Part 14 - Branching
Advent of YARV: Part 15 - Defining classes and modules
Advent of YARV: Part 16 - Defining methods
Advent of YARV: Part 17 - Method parameters
Advent of YARV: Part 18 - Super methods
The Ruby DevΒ sharedΒ an article about Happy Seeding with Faker
Scott WatermasyskΒ sharedΒ a short article about Rails and Docker
The Ruby DevΒ shared an article written by GΓ‘bor SzabΓ³ aboutΒ Simple HTTP GET requests using Ruby
Andrew Atkinson sharedΒ an article about PostgreSQL, Ruby on Rails, Rails Guides
Ruby Lib HuntΒ shared an article aboutΒ Ruby 3.2 introduces Enumerator#product
The Ruby DevΒ shared a new article aboutΒ Rails Generator Cheat Sheet
Andrew Hodson shared an article aboutΒ HTML5 Canvas on Rails? Part 1
Ryan Garver shared an article written by Avdi Grimm about Mastodon: Zero to Green Tests Locally