Short Ruby News - Edition #74

Discover new dates for Ruby conferences in 2024, performance benchmarks, code samples, testing tips and new gems.

You can jump directly to a section:

πŸš€ New Products

πŸš€ I (pre)launched a new project Ruby courses over email - follow along as I build it in public:

πŸ“… Events

πŸ“… Blue Ridge Ruby announced the conference dates for 2024:

πŸ“… Ruby Unconf announced the date for the next Ruby Unconf:

πŸ“… Toronto Ruby announced the date for the next meetup Toronto Ruby

πŸ“… Rails Conf shared the co-chairs for Rails Conf 2024:

πŸ‘‰ All about Code and Ruby

πŸ‘‰ PaweΕ‚ DΔ…browski shared Ruby was used for Gloden Globes ticketing and seat management system:

πŸ‘‰ Ruby Language announced that DataDog is becoming a sponsor of the language β†’  About the Ruby Website

πŸ‘‰ Takashi Kokubun shared that Ruby 3.3 YJIT can speed up more kinds of workloads:

πŸ‘‰ David Heinemeier Hansson shared about performance of running SQLite in AWS:

πŸ‘‰ Marco Roth shared about the contributions to Hotwire.io website:

πŸ‘‰Andy Croll asked about previous experiences at RailsConf. You can reply on Mastodon or on Twitter (X):

πŸ‘‰ Vladimir Dementyev shared a code sample showing a minimal HTTP request routing with pattern matching:

πŸ‘‰ Ruby On Rails shared a tip about custom headers for direct uploads:

πŸ‘‰ PaweΕ‚ DΔ…browski shared about the need to sanitize the attachment name in Ruby on Rails:

πŸ‘‰ Dima Fatko shared a tip about debugging slow tests:

πŸ‘‰ Cecile Veneziani shared a thread about making Jupyter Notebooks work with Rails and VScode. Please read the entire thread (read on nitter) as I include here just the beginning of the instructions about how to configure it:

πŸ“š Noel Rappin shared that Programming Ruby 5th edition is now in print:

πŸ‘‰ Hans Schnedlitz shared a code sample about configuring Kamal to load files like .env.production.local and .env.local:

πŸ‘‰Ervan L. shared about using Rails up_only to execute something only when migration is up:

πŸ‘‰ Joel Drapper shared about polymorphic relations:

Adam Daniels replied with an example:

πŸ‘‰Postmodern shared that you can set breakpoint for  ruby/debug: Debugging functionality for Ruby in multiple ways:

πŸ‘‰ Hristo Vladev shared a code sample of a helper for rendering Phlex components

πŸ‘‰ John Nunemaker shared they work on a new tracer for Ruby:

πŸ‘‰ Dima Fatko shared about testing performance:

πŸ‘‰ Bozhidar Batsov shared a link to the Rubocop section from parser-prism: A prism backend for the whitequark/parser gem

πŸ‘‰ Igor Alexandrov shared Gihub ci.yml config to determine the Ruby version from .ruby-version file:

πŸ‘‰ Ben Sheldon shared about Rails cookies:

πŸ‘‰ Marian PosΔƒceanu shared benchmark results for serialization and compressions on local Redis (see 01_redis_set_results.md):

πŸ‘‰ PaweΕ‚ DΔ…browski shared a code sample about testing errors with RSpec:

πŸ‘‰ Stefanni Brasil shared about using rails notes to display TODOs from code:

πŸ‘‰ Jess Brown asked about a behavior change of round:

and provided also a possible solution to keep the old behavior:

πŸ‘‰ Rubycentralorg shared the new board member roles:

πŸ‘‰ J Ruby Dev Team shared that their newsletter is public at groups.google.com/u/0/a/ruby-lang.org/g/jruby

πŸ‘‰  θ’Όζ™‚εΌ¦δΉŸ shared a code sample of their work to run Hanami on AWS Lambda:

πŸ‘‰ Ruby Cademy shared a tip about using `reverse_order` instead of creating a new scope in Rails:

πŸ‘‰ David Heinemeier Hansson shared vanilla Javascript and Turbo 8 used for HeyHey Calendar:

πŸ‘‰ Ruby Cademy shared about speeding up bundle install:

and further explained why use make and not bundle β€”jobs:

πŸ‘‰ Josef Strzibny shared about how even the simplest test can help:

πŸ‘‰ Faraaz Ahmad shared how Rails help focus on business logic with an example from Active Job Basics β€” Ruby on Rails Guides

πŸ‘‰ Scott shared a code sample about structured data markup:

πŸ‘‰ Rob Zolkos shared about hiding flash alerts:

Here are some alternative solutions:

πŸ‘‰ Cj Avilla shared a code sample about collecting ActiveRecord models into a hash:

πŸ‘‰ Christopher Winslett shared advice to switch to the structure.sql for database dump in Rails:

πŸ‘‰ Jared Norman shared a code sample showing interpolated heredocs:

πŸ‘‰ Ruby Cademy shared a code sample about using flash.keep:

🧰 Gems, Libraries, Tools and Updates

‼️ 🧰 Upgrade to Puma 6.4.2 to not be affected by CVE-2024-21647 (puma): Puma HTTP Request/Response Smuggling vulnerability

πŸ†• 🧰 Andrea Rocca announced a new version of GitHub - ilrock/rails-daisy-solid-template 

🧰 Stanislav Katkov announced a new version of POSH TUI

🧰 Brooke Kuhlmann announced a new version for  Infusible gem:

🧰 Julik announced a new version of pecorino: Postgres-based rate limiter for Rails

🧰 John Nunemaker announced a new version of Flipper 1.2.0

🀝 Related (but not Ruby-specific)

🀝 Xavier Noria shared about being busy:

🀝 Jonathan Reinink shared about SPF, DKIM and DMARC:

🀝 Marc KΓΆhlbrugge shared a tip about HTML:

🀝 Adam Grant shared a study about Return to office:

🀝 Matt Swanson shared a HTML code sample about using Tailwind group-disabled:

🀝 Adam Wathan shared about starting a business:

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

πŸ—ž Newsletters

πŸ—ž This Week in Rails published a new edition about Ruby On Rails &Mdash; Updated Puma Configuration, Object#With Block Support, And More!

πŸ—ž Hotwire Weekly published a new edition about Week 02 - Using Turbo in Node.js, offline functionality for Turbo Native, and more!

πŸ—ž RubyWeekly published a new edition about All aboard the train to Rails 8

πŸ—ž Awesome Ruby Newsletter published a new edition about Issue 399 - Just discovered the !~ operator (the "not match" operator)

πŸ—ž Harrison Broadbent published a new edition about The RailsNotes Newsletter ISSUE #23

🎧 Podcasts

🎧  The Ruby on Rails Podcast published a new episode about The Ruby On Rails Podcast Episode 502: New Years Resolutions With Jemma Issroff

🎧 Indie Rails published a new podcast about IndieRails | Jason Swett - Nothing About Service Objects

🎧 Andrew Atkinson published a new podcast about 207 - My Consulting Work (featuring Andrew Atkinson)

🎧 Jason Swett published a new podcast about 208 - Matt Swanson, CTO of Arrows

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

Screencasts

πŸŽ₯ CJ Avilla published a video about B Crypt Password Basics In Ruby and about Jupyter with Ruby and Rails (plus OpenAI function calling)

πŸŽ₯ Dean DeHart published a video about How I Setup Rails 7.1 For Docker Development

πŸŽ₯ Timnan Sheni published a new video about Episode 34 Introduction To Minitest

πŸŽ₯ Drifting Ruby published a new video about Episode 437 - Action Auth

Talks

πŸ“½οΈ Avo published a new video showing all Avo 3 new features

✍🏾 Articles

What’s new πŸ†•

David Copeland published an article about Ideas For Rails Conf

Ariel Juodziukynas and Fiona Lapham published an article about Ruby Conf 2023 – A Ruby Renaissance

Stephen Margheim published an article about SQLite In Ruby - Non-blocking timeout

Akshay Khot published an article about The Rails Config File (.railsrc)

Andy Obtiva published an article about Code Master Blog: Glimmer Goes Web!!!

Deep Dives πŸ”

Mohit Sindhwani published an article about Ruby Learning By Reversing: Native Gems, Part 7

I published an article about How To Find Method Definition In Ruby With irb

Ademar Tutor published an article about Understanding Big O Notation With Ruby and Hello AI World With Ruby!

How-TOs πŸ“

PaweΕ‚ ŚwiΔ…tkowski published an article about Reconfiguring Your Application Live With dRuby

Thomas Riboulet published an article about Keep Your Ruby Code Maintainable With Draper

Mateus Pereira published an article about Serving Active Storage Attachments Through A CDN

Gelsey Torres published an article about How To Use Brakeman To Find Rails Security Vulnerabilities

Avi Flombaum published a new article about How to Build a Turbo Frame Slide-Over

Jesper Christiansen published an article about Rails: What’s New Slide Out Drawer

Related

Wesley Aptekar-Cassels published an article about Consider SQLite

Reply

or to participate.