Short Ruby News - Edition #73

Discover what's new in Ruby 3.3, merged PRs for Rails 7.1, and plans for Rails 8 and Turbo 8. This edition covers the last two weeks of 2023 and the first week of 2024.

You can jump directly to a section:

πŸ‘‰ All about Code and Ruby (Ruby 3.3.0, Rails 8 and more)

[Sponsor ⬇] reinteractive.com

The reinteractive Application Code Review is a deep dive into your application, providing you a complete window into the state of your app.

πŸš€ New Products

πŸš€ Hans Schnedlitz launched Data Dead Drop

πŸš€  Stan Lo shared that Yuta Saito created a new  Ruby Playground

πŸš€ Hasumi Hitoshi announced the new website for PicoRuby Introduction | PicoRuby Documentation

πŸš€  Thoughtbot launched Introducing Superglue: React ❀️ Rails

πŸ“… Events

πŸ“… Friendly.rb shared that the tickets are on sale at friendlyrb.com and that all videos from last year are now available:

πŸ“… Euruko shared the new location for EuRuKo 2024:

πŸ‘‰ All about Code and Ruby

πŸ‘‰ Ruby 3.3.0 was released on 25 December 2023

Here are some resources about this release:

πŸ‘‰ Jean Boussier shared that Shopify monolith is running on Ruby 3.3.0

πŸ‘‰ Aaron Patterson invited us to use jemalloc:

πŸ‘‰  MatouΕ‘ BorΓ‘k shared about performance gains with Ruby 3.3:

πŸ‘‰ Rails 7 releases and Rails 8 plans and releases

Rosa GutiΓ©rrez announced the release of SolidQueue and wrote a great article about it at Introducing Solid Queue

πŸ‘‰ Jorge Manrubia shared more Rosa’s work and features found in SolidQueue:

πŸ‘‰ David Heinemeier Hansson announced they are already running millions of jobs every day through Solid Queue:

πŸ‘‰ Adrian Marin announced an UI in Avo for SolidQueue - Rails App Template - Solid Queue

πŸ‘‰ Vincent Rolea shared a tip when migrating to SolidQueue:

Other resources to read or watch:

Rails 8

David Heinemeier Hansson announced a series of topics/PRs about Rails 8 and Github Milestone for Rails 8

He also shared they plan to launch Action Notifier:

πŸ‘‰ Stephen Margheim shared about Rails renaissance in 2024:

DHH replied with:

There are a couple of articles talking about the new features in Rails 8 or about Turbo 8:

πŸ‘‰ Ruby On Rails shared a tip about image_tag, audio_tag and image_tag:

πŸ‘‰ Samuel Williams shared performance benchmark for that falcon - A high-performance web server for Ruby

πŸ‘‰ Xavier Noria shared a preview of their new book:

πŸ‘‰ Vidar Hokstad shared a code sample showing a RB-tree balance function:

πŸ‘‰Jason Garber shared a behavior of  class IO - Documentation for Ruby 3.2

πŸ‘‰ Xavier Noria shared about coding rules:

He continued with:

πŸ‘‰ Deepak Mahakale shared a tip about using to_fs instead of strftime:

πŸ‘‰ David Heinemeier Hansson shared the Gemfile for Once:

πŸ‘‰ Andrei Bondarev shared a thread with results from the Ruby AI survey. Here is one of the posts from the thread:

πŸ‘‰ Nate Berkopec shared a discussion about the default Puma thread count. Read the entire discussion on Github. It is a good debate with great arguments: Set a new default for the Puma thread count Β· Issue #50450 Β· rails/rails 

πŸ‘‰ Jesper Christiansen shared a tip about doing redo for Rails migrations:

πŸ‘‰ Mike Coutermarsh shared how to scale web apps with Rails:

πŸ“š Leanpub shared there are discounts on two books: Build A SaaS App in Rails 7 and Gradual Modularization for Ruby and Rails 

πŸ‘‰ Ruby Cademy shared a tip about using Rails acts_like? method:

πŸ‘‰ Facundo Espinosa shared about the process of updating gem versions:

πŸ‘‰ Maciej Mensfeld shared a code sample about exactly once transaction in Karafka:

πŸ‘‰ Matt Swanson shared a tip for simplifying assertions:

πŸ‘‰ Dima Fatko shared a tip about using Bumbler: Track the load progress of your Bundler-based projects to improve boot time:

πŸ‘‰ David Heinemeier Hansson shared a code sample about implementing Ratelimiter:

πŸ‘‰ Facundo Espinosa shared how to use outdated and audit importmap commands:

πŸ‘‰ Hans Schnedlitz shared a code sample based on Diceware - Wikipedia

πŸ‘‰ Ruby On Rails shared a tip about mailer callbacks using before_deliver and after_deliver:

πŸ‘‰ Marc KΓΆhlbrugge shared an image about database tables:

πŸ‘‰ John Nunemaker shared a code sample for a Storage used in Telemetry in Ruby Part 1: Metrics and Storage

πŸ‘‰ Matheus Richard shared a code sample showing how you can define constants inside constants:

🧰 Gems, Libraries, Tools and Updates

🧰 Brooke Kuhlmann announced a new version for  Milestoner

πŸ†• 🧰 Mike Ray Arriaga announced a new library stimulus-inline-input-validations - Watch the Screencast for Stimulus Inline Input Validations. Here is one of the examples of how this library might work:

🧰Postmodern announced the release of  version 0.5.0 Β· postmodern/command_kit.rb

🧰 Camilo announced the release of version 1.0.0 for standard-rails - A Standard Ruby plugin that configures rubocop-rails

πŸ†• 🧰 Ryan Kulp announced a new gem methodz - Supercharge Ruby "methods()" helper

🧰  Takashi Kokubun shared they finished the implementation of  Implement `it` by k0kubun Β· Pull Request #9199 Β· ruby/ruby

🧰 Vladimir Dementyev announced a new version of Release 1.0.0 Β· ruby-next/ruby-next

🧰 Kevin Newton announced that prism backed stree is coming soon:

🧰 Nate Hopkins announced a new version of TurboBoost Commands - see the PR here and he shared a video walkthrough:

πŸ†• 🧰 Niklas HΓ€usele announced a new version of email_error_reporter: Report your Rails errors via email

πŸ†• 🧰 Matheus Richard announced a new gem code_picture: Transform your code into pixel-art - read the article at Turn Your Code Into Pixel Art

🧰 Thomas Cannon shared a script about Tiptap document renderer using Phlex

More content: πŸ“š πŸ—ž 🎧 πŸŽ₯ ✍🏾

Ruby Conf published the conference videos at RubyConf 2023 (San Diego)

Blue Ridge Ruby published the conference videos about Blue Ridge Ruby

πŸ—ž Newsletters

πŸ—ž zzak published a new edition of This Week in Rails about Omakase RuboCop, Brakeman, Ruby 3.1+, allow_browser, rate_limit, an...

πŸ—ž Nate Berkopec published a new edition of The Ruby/Rails performance newsletter about When You Should Ignore GC

πŸ—ž Hotwire Weekly published a new edition about  Week 01 - Welcome to 2024!

πŸ—ž Emmanuel, Greg, Vipul, Wojciech, and Zzak published a new edition of This week in Rails about This year in Rails, a summary of 2023

πŸ—ž Ruby Weekly published a new edition New Year, New Ruby

πŸ—ž Awesome Ruby Newsletter published a new edition Issue 398 - Inheritance in Ruby, in pictures

πŸ—ž RubyRadar published a new edition about First One of the Year

🎧 Podcasts

🎧  Kelsey Hightower published a talk on Twitter Space about Scheduled: On-Premises with DHH

🎧 Adrian Marin published a new episode of Friendly Show about Season 1 Finale

🎧 The Ruby on Rails podcast published a new episode about Ruby For All Crossover!

πŸ“½οΈ πŸŽ₯ Videos

Screencasts

πŸŽ₯ Ken Greeff published a new video about Construction Manager - Part 2

πŸŽ₯ Joe Masilotti published a new video about Daily Log code deep dive - Authentication

πŸŽ₯  Nate Hopkins published a video about a preview of ActiveRecordETL (see it on nitter) and about a preview of ActiveRecord Forge (see it on nitter)

πŸŽ₯ Andrei Bondarev published a new video about Live coding Langchain.rb Assistants

Talks

πŸ“½οΈ Gavin Morrice published a new video about REST for Rails Engineers

πŸ“½οΈ Kevin Menard published a new video about BlueRidgeRuby2023: Making Ruby Fast(er) - Kevin Menard

πŸ“½οΈ Montreal.rb published a new video about Ruby Talk 2023/12 Building Llm Powered Applications Andrei Bondarev and about Anatomy of a Payment - Michel Jamati

πŸ“½οΈ Wei Zhe published a new video about When Neovim meets Ruby on Rails - ror.nvim

✍🏾 Articles

What’s new πŸ†•

Kyle Keesling published an article about  Migrating from Sidekiq to Solid Queue

Apoorv Tiwari published an article about Rails 7.1 Introduced Validate Option For Enums

Philip Mueller published an article about The Mystery Of Rails’ <Code>Lib/</Code> Folder

Stan Lo published an article about  Unveiling the big leap in Ruby 3.3’s IRB

Brandon Keepers published an article about How To Make Web Analytics Valuable For Rails Apps 

Stephen Margheim published a new article about How (and why) to run SQLite in production

Stephen Margheim published a new article about SQLite Quick Tip

Rafael PeΓ±a-Azar published an article about Forging The Future Of Blockchain Development (With Ruby)

Deep Dives πŸ”

Alkesh Ghorpade published an article about Conquering Code Clutter A Guide To Rails Concerns

Felipe Vogel published an article about  Coming to grips with JS: a Rubyist's deep dive

John Nunemaker published an article about Telemetry in Ruby Part 1: Metrics and Storage

Akshay Khot published an article about Why You Need Strong Parameters In Rails

How-TOs πŸ“

Erik Minkel published an article about Deploy An App With SQLite, Active Storage And Kamal

Rob Zolkos published a new article about Debugging production ActionMailbox issues in development

Luan GonΓ§alves published an article about This Is The Way… The Callable Way The Miners

Joe Ferris published an article about Route Based Scaling On Kubernetes For Rails Monoliths

Harrison Broadbent published an article about Edit Rails Credentials using VS Code

Dave Kimura published a new article about Self Hosted Github Actions Runner

PaweΕ‚ Pacana published a new article about Repository implementation on ActiveRecord

Josh Smith published an article about Connecting Debugger To Rails Applications

Web Crunch published a new article about Best Practices for Naming Models in Ruby on Rails

Hans Schnedlitz published a new article about Continuous Deployment with GitHub Actions and Kamal

MichaΕ‚ Dulat published an article about How A Simple Http Header Mismatch Led To Cache Poisoning

Related

Salvatore Sanfilippo published a new article about LLMs and Programming in the first days of 2024

Miles published an article about Looking back on 2023

Reply

or to participate.