Short Ruby News - Edition #70

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

You can jump directly to a section:

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

[Sponsor โฌ‡] flippercloud.io

Are big launches stressing you out? Then you need feature flags. Flipper Cloud helps your team deploy the code now and then rollout features when you are good and ready. Get started for free at flippercloud.io

๐Ÿš€ New Products

๐Ÿš€ Akshay Khot announced their new course Crash Course On Turbo (Hotwire) Framework

๐Ÿš€ (pre-launch) Nicolas Alpi announced they are working on a course:

๐Ÿ“… Events

๐Ÿ“… Tropical.Rb announced the CFP is now open at PaperCall.io - Tropical.rb | The Rails Latam Conference

๐Ÿ“… Euruko announced the date for 2024 edition:

๐Ÿ“… Ruby On Rails announced the date for 2024 edition:

๐Ÿ“… Rug B announced the RUG::B - December Meetup 2023

๐Ÿ‘‰ All about Code and Ruby

[Sponsor ๐Ÿ‘‡]

Fewer ๐Ÿ’ฅ, more ๐Ÿ˜Ž. Need to restrict who can enable, disable, or roll back feature flags in a particular environment? We can help. Know who did what (and when), roll back a change in a single click or lock down production access to a few people today at flippercloud.io

๐Ÿ‘‰ Joel Drapper shared a code sample using the Literal gem:

Here is one reply from Joel where he explains how this works, but you should read the entire conversation happening as reply to this code sample:

๐Ÿ‘‰ John Nunemaker shared a preview of a new feature for FlipperCloud that will support client side stats:

๐Ÿ‘‰ Colleen Schnettler shared a thread about how they created a grid of radio boxes:

Konnor Rogers shared a solution built only with CSS  โ†’ see it at CodePen

๐Ÿ‘‰  Jorge Manrubia shared that Basecamp runs 18% faster with YJIT along with an article written by Jacopo Beschi about Basecamp code runs 18% faster with YJIT

๐Ÿ‘‰ Greg Molnar shared a tip about silencing health checks in Rails:

[Sponsor flippercloud.io]๐Ÿฌ Using the open source version of Flipper to flip features? Switch to Cloud in a few minutes for support, audit history, finer-grained permissions, multi-environment sync, and all your projects in one place.Start with our free tier today at flippercloud.io

๐Ÿ‘‰ Shopify Engineering shared stats about the BFCM:

There are some replies to this thread shared on Hacker News and Reddit if you want to read and see what people are thinking about this.

๐Ÿ‘‰ Ryan Bates asked about what developers are using to run multiple versions of PostgreSQL for Ruby on Rails development:

Here are some suggestions:

๐Ÿ‘‰Petrik De Heus shared a thread with results from TechEmpower Web Framework Performance Comparison about Ruby web frameworks:

๐Ÿ‘‰ Advent of code with Ruby - here are some of the links shared by people doing Advent of code with Ruby:

๐Ÿ‘‰ Joel Drapper shared a link to an mp3 file in the zeitwerk repo that shows how to pronounce zeitwerk:

๐Ÿ‘‰ Daveyon Mayne shared a code sample that helps to truncate about search results:

๐Ÿ‘‰ Jorge Manrubia shared an example of using Turbo 8:

๐Ÿ‘‰ David Heinemeier Hansson shared a piece of code from Once:

๐Ÿ‘‰ Nate Berkopec shared about Rails being a good fit for web applications:

๐Ÿ‘‰ Amanda Brooke Perino shared that all communities have an similar problem:

๐Ÿ‘‰ Rob Lacey shared a code sample about getting a specific digit from an Integer:

๐Ÿ‘‰Paul Reece shared they added a new feature to IRB the -s flag:

๐Ÿ‘‰ Matt Swanson asked about VScode extension to highlight inline ERB:

Vladimir Dementyev shared  a possible solution:

๐Ÿ‘‰ Axel Kee shared about Ruby:

๐Ÿ‘‰ Mike Ray Arriaga shared a stimulus controller that automatically closes flash messages:

๐Ÿ‘‰ John Nunemaker shared that you can define serialization for your objects to be used in ActiveJob:

๐Ÿ‘‰ John Mc Dowall shared that with Ruby beautiful DSLs can be created:

๐Ÿงฐ Gems, Libraries, Tools and Updates

๐Ÿ†• ๐Ÿงฐ John Mc Dowall announced a new gem called consist - The stone age one person framework server scaffolder 

๐Ÿงฐ Postmodern announced the release of  Release 0.9.3 ยท postmodern/ruby-install

๐Ÿงฐ Tim Morgan announced adding Threads to Natalie lang Threads by seven1m ยท Pull Request #1489 ยท natalie-lang/natalie

๐Ÿงฐ Niklas Hรคusele announced they added support for text-to-speech to ruby-openai Using the OpenAI Text-to-speech API with Rails and he also shared their repo: 

๐Ÿงฐ Tomoya Ishida shared a release of version 0.5.0.pre1 of reline:

๐Ÿงฐ Vipul A M announced their PR that improves json gem is merged Perf. improvements to Hash#to_json in pure implementation generator

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

๐Ÿงฐ Stan Lo announced a new version Release v1.10.0 ยท ruby/irb

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

๐Ÿค Mike Perham shared about making blogs readable:

๐Ÿค Peter Cooper shared how experienced people sometimes forget to take into consideration the context of newbies:

๐Ÿค Justine Tunney announced llamafile - the faststest executable file format and shared an article about Mozilla-Ocho/llamafile: Distribute and run LLMs with a single file

๐Ÿค Adrian Oprea shared about teaching fundamentals:

๐Ÿค Craig Kerstiens shared psql config recommendations:

๐Ÿค Ryan Bates shared about how UX and performance can be used to mitigate each other:

๐Ÿค Dani Grant shared a cold email that help them get their first job:

๐Ÿค Adam Wathan shared a little UI polish tip:

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

๐Ÿ—ž Newsletters

๐Ÿ—ž๏ธ Hotwire Weekly published a new edition about Week 48 - Turbo devtools, Turbo without Rails, LAST stack tutorial series, and more!

๐Ÿ—ž๏ธ Joe Masilotti published a new edition about Hotwire dev newsletter - November edition

๐Ÿ—ž๏ธ Andy Croll published a new edition of One Ruby Thing about Find Definitions Of Rails Methods Using Source Location And Bundle Open

๐Ÿ—ž๏ธ Ruby Weekly published a new edition about 60 million requests per minute

๐Ÿ—ž๏ธ Awesome Ruby Newsletter published a new edition about Issue 393 - The official Rails job board is live

๐ŸŽง Podcasts

๐ŸŽง Lucas Barret published a new podcast about GemRuby Show: Dmitry Tsepelev, StoreModel | GemRuby Show

๐ŸŽง Rooftop Ruby published a new episode about  Live at RubyConf 2023! โ€” Rooftop Ruby Podcast

๐ŸŽง Matt Swanson published a new podcast about YAGNI | Redis w/ Nate Berkopec

๐ŸŽง Indie Rails published a new podcast about IndieRails | What to Look For in a New Client

๐ŸŽง Rubber Duck Dev Show published a new episode about Working As A Team In Software Development

๐ŸŽง Remote Ruby published a new podcast about Unlocking The Power Of State Machines In Code Development With Elise Schaefer

๐ŸŽง The Ruby on Rails Podcast published a new episode about Episode 497: Rachel Moser On The Odin Project

๐ŸŽง The Bike Shed published a new episode about The Bike Shed: 408: Work Device Management

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

Screencasts

๐ŸŽฅ Hanami Mastery released a new episode about  Font awesome icons in Hanami apps!

๐ŸŽฅ Drifting Ruby published a new video about Episode 430 - Rails Organization

๐ŸŽฅ Thoughtbot published a new video about Importing posts from an RSS feed with Eleventy

๐ŸŽฅ Simon Willison published a new video about Snakes and Rubies (full) (2005)

โœ๐Ÿพ Articles

Whatโ€™s new ๐Ÿ†•

Brad Gessler published a new article about Turbo 8 in 8 minutes

RubyCentral published a new article about November 2023 Newsletter

Jacopo Beschi published an article about Basecamp Code Runs 18% Faster With Yjit

Prasanth Chaduvula published an article about Rails 7.1 Introduces Default Dockerfiles

Michel Sรกnchez Montells published an article about Exploring The Power Of Keyword Arguments In Ruby

Alexis Bernard published a new article about Helvetic Ruby - RorVsWild

Ahmed Nadar published a new article about RapidRails UI for Ruby on Rails with TailwindCSS and ViewComponent

Hugo Vast published an article about Pimp My Code : Come And Clean Code

I published an article about Review Rails Code: Rubymine AI & Chat GPT

Deep Dives ๐Ÿ”

Victor Shepelev published an article about โ€œUseless Ruby Sugarโ€: Endless (One Line) Methods

Ben Sheldon published an article about  The Rails Executor: increasingly everywhere

Vladimir Dementyev published a new article about TestProf III: guided and automated Ruby test profiling

Sid Krishnan published an article about The Anatomy Of A Turbo Stream

Akshay Khot published an article about Understanding The Rails Router: Why, What, And How

How-TOs ๐Ÿ“

Radan Skoric published an article about Using Turbo Frames And Streams Without Rails

Pulkit Goyal published an article about Keep Your Ruby Code Maintainable With Money Rails

Brooke Kuhlmann published an article about Interactive Ruby (IRB)

AbstractBrain published an article about Using Rails Helpers (X Component) For Rendering View Components

Kasra Rismanchi published an article about Rails Harmony: Debugging Your Dockerized App With VScode And RDBG

Guillermo Aguirre published an article about How To Avoid Distributed Data Consistency Coming Off The Rails

Steve Polito published an article about Are Your Polymorphic Relationships Correctly Enforced?

Niklas Hรคusele published an article about Using The Open Ai Text To Speech Api With Rails

JetThoughts published an article about Custom Ordering Without Custom Sql With Ruby On Rails 7

Amy Lai published an article about The Weirdest Bug Iโ€™ve Seen Yet

Francois Buys published an article about Test Doubles: Testing At The Boundaries Of Your Ruby Application

Tobias Pfeiffer published an article about Reexamining Fizz Buzz Step By Step & Allowing For More Varied Rules

Related

Tobias Pfeiffer published a new article about Interviewing Tips: Technical Challenges โ€“ Coding & more

Aaron Francis published an article about Targeting Only Inline Code Elements With Tailwind Typography

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.