πŸ‘‹ 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.