Short Ruby News - Edition #93

Conferences announced their lineups and agenda, Ruby 3.3.2 was released, Rails 7.2 beta was announced, and a wide range of code samples and discussions.

You can jump directly to a section:

🚀 Launches & 📅 Events

👉 All about Code and Ruby: 💻 Code, 📐Code Design,💡Around, ❤️ Why Choose Ruby

🧰 Gems, Libraries, and Updates: 🆕 New, 🧰 Updates and 👀 Keep an eye on 

🤝 Related (but not Ruby-specific)

More content: 📚 🗞 🎧 🎥 ✍🏾 (articles, podcasts, videos, newsletters)

🚀 Launches

🚀 Prabin Poudel shared the launch of Zero Config Rails for Beta Testing - Project setup doesn't have to take DAYS!

🚀 Andrés Max launched tini.bio - Your personal page + microblog + portfolio + more. Beautiful ✨, quick to set up 🪄 and easy to use

📅 Events

📅 Ruby On Rails shared smaller batch of tickets will be released

📅 Rails World - 2024 — Speakers Lineup announced.

Image

📅 Friendly.Rb, RubyUnconfEU, BalticRuby and Euruko together are offering discounts if you participate to at least one of them:

📅 Euruko shared EuRuKo 2024 Program 

Program promo, EuRuKo: 7 keynotes, 34 talks, 3 workshops, 2 panel discussions, 2 lightning talk sessions, 25+ countries participating

📅 Balticruby shared Main Stage Agenda

📅 Rubyireland shared Ruby On Skis? Let's Go Alpine & Get Better Service!, Wed, Jun 26, 2024, 6:00 PM | Meetup

📅 Mariusz Kozieł shared Barcelona.rb is back!

📅 Irina Nazarova announced the next SF Bay Area Ruby Meetup

📅 Ruby World Conf En shared RubyWorld Conference 2024 Keynote Speakers decided

👉 All about Code and Ruby

👉 Shibata Hiroshi shared they released Ruby 3.1.6

👉 Takashi Kokubun shared they released Ruby 3.3.2

Postmodern announced that Ruby 3.3.2 is now available at postmodern/ruby-install: Installs Ruby, JRuby, Rubinius, TruffleRuby or MRuby

👉 Ruby On Rails announced Rails 7.2 Beta 1: Better production defaults, Dev containers, new guides design, and more!

👉 Nick Schwaderer shared an article by Why published in 2003 → _why's Estate - A Quick Guide to SQLite and Ruby

💻 Code Samples

👉 Andrea Fomera shared how she builds controllers.

👉 Josef Strzibny shared how he uses with fixtures

👉 Brad Gessler shared people’s usual response to trying Phlex

👉 Yuichiro Kaneko shared My favorite script, "dsl.rb"

👉 Ruby Cademy shared a handy tip about pluralize

👉 Ruby Cademy shared how you can use constraints with regular expressions to validate dynamic segments in routes

👉 Nate Berkopec shared why your JSON Serializer choice might not matter

👉 Nate Berkopec shared Feature #16614: New method cache mechanism for Guild - Ruby master - Ruby Issue Tracking System

👉 Spencer shared how he usually approaches Real time search with Hotwire

👉 Matt Swanson shared how he improved performance with inline_svg

👉 Brad Gessler shared the prototype he’s working on for Sitepress

👉 Chris Oliver shared how ActiveSupport presence_in works

👉 Chris Oliver also shared how he uses presence_in

Ryan Heneise added an example about using detect (that is an alias for find):

👉 Matt Swanson shared a code sample about validating the associated tasks:

Here are some replies:

Image

👉 Konpyu shared that how the Ruby 3.3 upgrade went

📐 Thinking about Code Design

📐 John Pollard asked about how to specify stimulus tags:

Benito Serna replied:

📐 Jason Swett shared his thoughts on planning object models.

📐 Jason Swett shared how naming a method .call affects the code.

📐 Jason Swett shared how to think about Class design

📐 Jose Farias shared his thoughts around which features get prioritised and why

📐 Nate Hopkins shared why he Longevity with a company/project could be key

📐 Benjamín Silva H. shared how the Hey calendar example can be handled

📐 Nate Berkopec was curious if folks would be interested in the ActiveRepository pattern

📐 Kevin Vanzandberghe talked about RubyOnRails vs LocalFirst

💡 Around code (news, findings, books, and more - all about Ruby)

💡 Vinicius Stock shared about the updates in Ruby LSP

💡 Stephen Margheim shared what the Naming Things Discord is all about

💡 Denis Magda shared a PostgreSQL feature we might not be aware of

Image

❤️ Why Choose Ruby

❤️ Irina Nazarova shared a good thread about startups using Ruby in 2024. Here is just a tiny part of it, but you should read it all:

❤️ David Heinemeier Hansson shared a long post about what made people choose Rails. Here is a part of it:

❤️ Bryan Woods shared how well Ruby & Rails has worked for him

❤️ Mike Chlipala shared how Figma uses Ruby

❤️ Matt Swanson shared about choosing Ruby and Rails:

❤️ Kirst shared about Rails allowing to ship features fast:

❤️ Justin Duke CEO and founder of Buttondown posted an article called Use Rails

🧰 Gems, Libraries, Tools and Updates

🆕 New Gems and Repos

🆕 Steven Li published a new gem called periodoxical - Generating date/times based on rules. Perfect for (but not limited to) calendar/scheduling applications

🆕 Gavin Morrice announced a new repo CursedCode: Example repo demonstrating the use of a base class in an API wrapper

🧰 Updates

🧰 Kevin Newton announced a new version of Prism as default CRuby parser · Issue #2336 · ruby/prism

🧰 Tom Rossi announced a new version of Active storage immediate variants by tomrossi7 · Pull Request #51951 · rails/rails

🧰  Jeremy Evans announced a new version of Rodauth 2.35.0 Released · jeremyevans rodauth · Discussion #424

🧰 Mari Imaizumi announced a new version of Release v0.5.8 · ruby/reline

🧰 Vladimir Dementyev announced a new version of GitHub - evilmartians/capybara-thruster: Thruster server definition for Capybara

🧰 Ruby On Rails announced a new version of [RF-DOCS] Action View Form Helpers Guide [ci-skip] by bhumi1102 · Pull Request #51936 · rails/rails

🧰 Jeremy Evans announced a new version of Sequel 5.81.0 Released · jeremyevans sequel · Discussion #2172

🧰 Thoughtbot announced a new version of Release 4.0.0.rc1 · thoughtbot/high_voltage

🧰 Dmitrii Ivliev announced a new version of moofkit/sidekiq-rescue: Sidekiq plugin to rescue jobs from expected errors and retry them later

👀 Keep an eye on

👀 Jeremy Smith announced Ruby on Trails

👀 Jason Swett shared he’s making progress on new testing book, Professional Rails Testing. Sample passage from the book:

Image

🤝 Related (but not Ruby-specific)

🤝 Louie Bacaj shared a point of view about the latest “drama” generated by Theo:

🤝 Obie Fernandez shared his thoughts about building AI-driven products.

🤝 Tobi Lutke shared Iterate on LLMs faster | promptfoo

🤝 Arian Celina shared the lessons he learned building digital products

More content: 📚 🗞 🎧 🎥 ✍🏾

Chael Codes shared their slides from Blue Ridge Ruby about Validate Me! - Demystifying Rails Validators

🗞 Newsletters

🗞 Ruby Weekly published a new edition about DHH on SQlite

🗞 Ruby On Rails published a new edition about Propshaft default for Rails 8, Guides updates, transaction.active_record events, and more!

🗞 Hotwire Weekly published a new edition about Week 22 - Reusing pages in Turbo Frame flows, and more!

🗞 Women On Rails published a new edition about Newsletter WoR #59: a better web, preview for Ruby 3.4, how to not break into in tech...

🗞 Sara Jackson published a new edition about This Week in Open Source

🗞 Ruby Lib Hunt published a new edition about Awesome Ruby Newsletter - Issue 419, May 30, 2024

🎧 Podcasts

🎧 John Nunemaker published a new podcast about Founder Quest: Writing and Content Marketing for Devs

🎧 Jason Swett published a new podcast about 221 - Automated Translations in Rails with Trae Robrock - The Code with Jason Podcast

🎧 Matt Swanson published a new podcast about The Tuple Podcast | Matt Swanson, CTO at Arrows

🎧 Indie Rails published a new podcast about IndieRails | Andrew Atkinson - The Postgres Specialist

🎧 RemoteRuby published a new podcast about RailsConf 2024 Recap with the GoRails crew

🎧 The BikeShed published a new podcast about 427: RailsConf Recap and Conversing About Coupling

📽️ 🎥 Videos

Screencasts

🎥 Stephen Margheim published a new video about OAuth from Scratch: part 1, OAuth from Scratch: part 2, OAuth from Scratch: part 3

🎥 Daniel Bergholz published a new video about The JavaScript problem: Why Rails and Laravel won

🎥 Jason Swett published a new video about How Do We Write Tests for Job Streaming? - Live Coding on SaturnCI

🎥 Gavin Morrice published a new video about Stop calling your class Base (and maybe use composition?)

🎥 Aaron Patterson published a new video about Pairin' with Aaron: Intro to Hacking on CRuby

🎥 Yaroslav Shmarov published a new video about Build a diff checker with database record version control

🎥 John Beatty published a new video about Interactive Modals in Rails with Stimulus.js

✍🏾 Articles

What’s new 🆕

✍️ Jorge Manrubia published a new article about The popover drama

✍️ Nate Hopkins published a new article Less > More

✍️ Vladimir Dementyev published a new article about Gemfile of dreams: the libraries we use to build Rails apps—Martian Chronicles, Evil Martians’ team blog

✍️ Miles published a new article about Au Revior Sprockets, Hello Propshaft!

✍️ Nelson Elhage published a new article about Stripe's monorepo developer environment

✍️ Dimiter Petrov published a new article about Dealing with flaky tests

✍️ Prasanth Chaduvula published a new article about Ruby 3.4 Throws SyntaxError While Passing Block As Argument In Index and about ActiveRecord::Relation#order Adds Support For Hash Values In Rails 7.2.

✍️ Afaq Shahid Khan published a new article about Understanding Callbacks in Rails: Enhancing Model Interactions and Lifecycle Management

✍️ Ngan Pham published a new article about Bundler Auto-Install Just Got A Whole Lot Better

✍️ Farhan CK published a new article about How we automated displaying error pages based on API responses

✍️ Joël Quenneville published a new article about Writing Quality Method Docs

✍️ Aaron Sumner published a new article about Replacing system tests with unit tests

✍️ Augusts Bautra published a new article about The most painful reason NULLs are evil

🕵️ Deep-Dive

🕵️ Noel Rappin published a new article about Better Know A Ruby Thing: Methods and Access Control (part 1) – Noel Rappin Writes Here

How-TOs 📝

📝 Damian C. Rossney published an article about Implementing Postgres Trigram Indexes in ROM

📝 George Gavrilchik published a new article about How to use database triggers in Rails

📝 Josef Strzibny published a new article about Automating PostgreSQL backups to Digital Ocean Spaces with Kamal

📝 Jonathan Rochkind’s article about Run your Rails gem CI on rails main branch 

📝 Garrett Dimon published an article about Create Generators that People Will Use

📝 Rails Designer shared a new article about Lesser Known Rails Helpers to Write Cleaner View Code

Related

Andrei Maxim published an article about The Responsible Web Developer

John McDowall published a new article about Why, after 6 years, I’m over GraphQL

Brandon Bayer published a new article about multi-tenant SaaS data modeling

All issues