๐Ÿ‘‹ Short Ruby News - Edition #72

Discover the world of Ruby in this comprehensive newsletter covering week 52 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

๐Ÿš€ Miles launched in their beta app Join the 1500cals beta

๐Ÿ“… Events

๐Ÿ“… Wroclove.Rb announced CFP is open wroclove.rb 2024 - call for papers

๐Ÿ“… Rubyday | 16th June | Verona announced that CFPs and early bird tickets are now available at rubyday 2024

๐Ÿ“… Toronto Ruby announced a chat at Chat | Toronto Ruby

๐Ÿ‘‰ All about Code and Ruby

[Sponsor ๐Ÿ‘‡]

Flipper 1.1 is out, and it's a sturdy release. One of the most exciting bits is expressions. If you are already a flipper user, expressions are groups you can change at runtime (instead of statically defined in code). If you aren't using Flipper, get started free today!

๐Ÿ‘‰ Ruby Lang announced the release of Ruby 3.3.0-rc1

๐Ÿ‘‰ Yukihiro Matz shared about using String#-@ and String#+@ for freeze and unfreeze:

๐Ÿ‘‰ David Heinemeier Hansson shared about the future of Rails 8:

๐Ÿ‘‰ John Nunemaker shared a code sample from their article about How we designed Flipper Cloud to never take your app down

๐Ÿ‘‰ Dhaval Singh shared about the difference in SQL query about NOT IN:

๐Ÿ‘‰ David Heinemeier Hansson shared about SolidQueue:

๐Ÿ‘‰ Janko Marohniฤ‡  shared how they implemented authentication for RubyGems.org

๐Ÿ‘‰ Matheus Richard shared how Ruby parses minus prefix operator:

๐Ÿ‘‰ Borja Garcia De Vinuesa Ordovรกs shared a code sample showing how to add a method to a single object:

๐Ÿ‘‰ I shared a thread about the warning in Ruby 3.3.0-rc1 about using `it` without a receiver, arguments, or blocks:

๐Ÿ‘‰ Jan Dudulski shared a code sample using common table expressions in Rails:

๐Ÿ‘‰ Martin Spickermann shared a code sample about loading records from the database in a custom order:

๐Ÿ‘‰ Bhumi shared about how Rails transforms hyphens to underscores:

Niklas Hรคusele shared that symbols with hyphens can be created, but one needs to put their label between quotes:

[P] 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

๐Ÿ‘‰ Postmodern shared about defining a rake file task that depends on another rake task:

๐Ÿ‘‰ Matt Swanson shared about building personalization tokens with Liquid attributes:

๐Ÿ‘‰ Bhumi shared about autoload in Ruby:

๐Ÿ‘‰ Hans Schnedlitz shared about configuring strict loading in Rails:

๐Ÿ‘‰ Ruby Cademy shared a code sample showing how to use with_options in ActiveRecord:

๐Ÿ‘‰ Cj Avilla shared a code sample showing how to use retry:

๐Ÿ‘‰ Samuel Williams shared about working on a more flexible implementation of ActionCable:

๐Ÿ‘‰ Hans Schnedlitz shared about assigning variables to Regexp:

๐Ÿ‘‰ Stephen Margheim shared a thread about SQLite database-locked errors:

๐Ÿ‘‰ Kevin Newton shared about classes as another scope:

๐Ÿ‘‰ David Heinemeier Hansson shared about testing products that should code with 10.000 users:

๐Ÿ‘‰ Georgie Boy shared a Phlex Mailer layout gist for creating a mailer layout with Phlex:  

๐Ÿ‘‰ Mike Perham shared some advice to buy from a creator you know:

๐Ÿ‘‰ Tropical.Rb shared a feature they like from Rails 7.1:

๐Ÿ‘‰ Igor Alexandrov shared about writing objects following the Law of Demeter:

๐Ÿ‘‰ Nate Hopkins shared about UniversalID enhancements:

๐Ÿ‘‰ Samuel Williams shared that sus testing framework can now provide code coverage data back to VSCode:

๐Ÿ‘‰ Rob Zolkos shared an example of good naming for routes from Basecamp:

๐Ÿ‘‰ Ruby Cademy reminded us that Rails 7.1 now has a lot of asynchronous methods:

๐Ÿ‘‰ David Heinemeier Hansson shared about building web apps with vanilla CSS:

๐Ÿ‘‰ Hasumi Hitoshi shared a quote from Yukihiro Matz:

๐Ÿ‘‰ Kevin Newton shared what it means to achieve true, well-factored OOP:

Here are two replies, but you should read all replies  (read on nitter):

๐Ÿงฐ Gems, Libraries, Tools and Updates

๐Ÿงฐ RubySec published an article about CVE 2023 50448 (Activeadmin): Potential Csv Export Data Leak

๐Ÿงฐ RubyGems release version 3.5.0 Released

๐Ÿ†• ๐Ÿงฐ Stephen Margheim announced a new version of GitHub - fractaledmind/litestream-ruby

๐Ÿงฐ Tiago Cardoso release a new version of httpx gem Release notes 1.2.0

๐Ÿงฐ John Nunemaker announced a new release of  flipper v.1.1.2

๐Ÿงฐ Stephen Margheim announced two new open PRs for Rails about SQlite:

๐Ÿงฐ Ro Rvs Wild discovered an open source project called  SOLECTRUS Photovoltaik-Dashboard

๐Ÿ†• ๐Ÿงฐ Postmodern  started a new project ronin-rb/bruteforceable: A collection of bruteforceable apps

๐Ÿงฐ Tatsuno Yasuhiro announced a new version of Release v0.10.0 ยท exoego/rspec-openapi

๐Ÿงฐ Bozhidar Batsov announced a new version of Release RuboCop 1.59 ยท rubocop/rubocop

๐Ÿงฐ Stan Lo announced a new version of Release v1.9.0 ยท ruby/debug

๐Ÿงฐ Rafael Franรงa merged a PR to Rails about Remove deprecations part 1 by rafaelfranca

๐Ÿงฐ Nate Berkopec announced a new version of Release 3.3.0 ยท MiniProfiler/rack-mini-profiler

๐Ÿงฐ Kevin Newton announced a new version of Release v0.19.0 ยท ruby/prism

๐Ÿงฐ Vinicius Stock announced a new version of Release v0.13.2 ยท Shopify/ruby-lsp

Related (but not Ruby-specific)

๐Ÿค Paweล‚ ล›wiฤ…tkowski shared about seeing tests the same way as the codebase:

๐Ÿค Jason Swett shared about a question engineering leaders should ask themselves:

๐Ÿค Darren Broemmer shared about the benefits of reframing a problem:

๐Ÿ‘‰ Drew Bragg shared that there exists a ruby HTML element The Ruby Annotation element - HTML: HyperText Markup Language

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

Helio Cola shared their slides from RubyConfTW about Let's pop into Passkeys

Okura Masafumi shared their slides from RubyConfTW about  Writing Minitest clone in 30 minutes

Hiroshi SHIBATA shared their slides from RubyConfTW about Deep dive into Ruby's require 

Faraaz Ahmad shared their slides from Bengaluru Ruby User group about Ruby without the Syntax

Abiodun Olowode shared their a new video from Helvetic Ruby about A Sneak Peek into Ractors! by Abiodun Olowode

๐Ÿ—ž Newsletters

๐Ÿ—ž Wojciech Wnฤ™trzak published a new edition of This Week in Rails about Ruby On Rails - Exposed Queries Assertion Methods And More

๐Ÿ—ž Sajjad Umar published a new edition about Ruby On Rails December 2023

๐Ÿ—ž Awesome Ruby Newsletter published a new edition about Issue 395 - How Relational Algebra powers Klaro Cards

๐Ÿ—ž Ruby Weekly published a new edition about Eleven sleeps away

๐Ÿ—ž Saron published a new edition about The single, guiding question for all your product designs

๐Ÿ—ž Hotwire Weekly published a new edition about Week 50 - Turbo 8 deep dive, Hotwire history, new Turbo native apps!

๐Ÿ—ž Ruby Radar published a new edition about It's Almost that Magical Time Of Year...

๐ŸŽง Podcasts

๐ŸŽง Yaroslav Shmarov and Adrian Marin published a new episode about Friendly S1 E9 Mariusz Koziel Ruby Community In Poland, How To Become CTO And CEO

๐ŸŽง Indie Rails published a new podcast about Adrian Marin - Friendly Dev Building Avo

๐ŸŽง Code And The Coding Coders Who Code It published a new podcast about Episode 31 - Elise Shaffer

๐ŸŽง Remote Ruby published a new episode about Unleashing The Power Of Postgres With Andrew Atkinson

๐ŸŽง The Ruby on Rails Podcast published a new episode about Episode 499: The Ruby On Rails Podcast X Coding Coders

๐ŸŽง Stephanie Minn and Joรซl Quenneville published a new episode about The Bike Shed: 410: All About Documentation

๐ŸŽง The Rubber Duck Dev Show published a new episode about ORM vs. SQL

๐ŸŽงRooftop Ruby published a new episode about  33: You Had Me at Battlesnake With ChaelCodes - Rooftop Ruby Podcast

๐ŸŽง Joshua Wood published a new podcast about Cutting (Almost) to the Bone | FounderQuest

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

Screencasts

๐ŸŽฅ Emmanuel Hayford published a new video about New Active Support assertion methods

๐ŸŽฅ Emmanuel Hayford published a new video about New Active Support/Test Case Assertion Methods

๐ŸŽฅ Dean DeHart published an article about Runescape Drop Rates In Ruby On Rails 7

๐ŸŽฅ Drifting Ruby published a new video about Episode 432 - Custom Dashboard - Part 1

๐ŸŽฅ Hexdevs published a new video about Hacking on Prism with Kevin Newton

Talks

๐Ÿ“ฝ๏ธ Tobi Lutke published a new video about Advice from the CEO of Shopify, Tobias Lรผtke

๐Ÿ“ฝ๏ธ Justin Searls published a new video about Secrets Of Great Conference Talks Practical Public Speaking Advice

โœ๐Ÿพ Articles

Whatโ€™s new ๐Ÿ†•

John Nunemaker published an article about How We Designed Flipper Cloud To Never Take Your App Down

Nithin Bekal published an article about What's New In Ruby 3.3

Cezary Kล‚os published a new article about A look back at Friendly.rb 2023

Adam McCrea published an article about We Were Wrong: Donโ€™t Use Heroku Scheduler

Ariel Juodziukynas published an article about What's New In Ruby 3.3.0

I published an article about Ruby 3.3 Examining `It` Default Block Param

Samuel Giddins published an article about Announcing Trusted Publishing On Ruby Gems.Org

Dimiter Petrov published an article about  Service objects are poorly-named models

Joe Masilotti published an article about Idea To App Store In 7 Days

Deep Dives ๐Ÿ”

Radan Skoric published an article about Turbo 8 Morphing Deep Dive How Does It Work?

Akshay Khot published an article about Rails Internals: A Deep Dive Into Active Job Codebase

Victor Shepelev published an article about Advent Of Ruby Changelog: Week 2 (open the article and you will see each day deep-dives into the Ruby 3.3 changes)

Maxime Lapointe published an article about The Lesser Known Rails Race Condition

Igor Alexandrov published a new article about From Service Objects to Object Design

Shane Tully published a new article about Debugging Ruby the hard way

How-TOs ๐Ÿ“

Roel Bondoc published an article about Deploy A Rails App To A VPS With Kamal

Tomasz Kowalewski published a new article about How to configure Rails Engine to work with Stimulus

Maxat Mansurov and Anna Zykova published an article about Ruby Mine: How To Accelerate Project Indexing?

Julian Rubisch published an article about Stream Updates To Your Users With Lite Cable For Ruby On Rails

Ernesto Tagwerker published an article about How And Why To Measure Dependency Freshness In Your Ruby Application

Ariel Juodziukynas published an article about Dual Boot With Rails' "Main" Branch

Akshay Khot published an article about Working With SQLite In Ruby

Sam Johnson published a new article about Kamal + Hetzner = Joy

Sebastian Wilgosz published a new article about Untangle your code with MORE than service objects! Meet dry-monads!

Related

Ronan Duparcmeur published a new article about Faxes from a late-career developer

Konnor Rogers shared an older article (2018) written by Sara Soueidan new article about On Designing and Building Toggle Switches

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.