Short Ruby News - Edition #107

The one about Rails World when Rails 8.0.0.beta1 was announced

You can jump directly to a section:

🚀 Launches & 📅 Events

👉 All about Code and Ruby and 🧰 Gems, Libraries, and Updates,

🤝 Related (but not Ruby-specific) 

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

[Sponsor ⬇] Hacking Scale

Hacking Scale is a free bi-weekly newsletter about building and scaling software. Get an engineering story explained in <1000 words, with hand-drawn visuals, delivered right to your inbox from Better Stack engineers building in Ruby.Ship with secrets from Netflix or OpenAI.

🚀 Launches and discounts

🚀 Ruby Europe has been launched:

Source: @RubyEurope

🚀 Obie Fernandez launched The Rails 8 Way:

Source: @obie

🚀 Pragmatic Programmers launched a discount for Rails World → Ruby and Rails (Early morning today was still working)

Source: @pragprog

🚀 Josh Pigford launched Revise - AI Code Correction Tool

🚀 Ro R Vs Wild launched One-on-one anyone? - RorVsWild

Source: @rorvswild

📅 Events

📅 Rocky Mountain Ruby Conference shared they published the schedule:

Source: @rmrubyconf

📅  Check rubyconferences.org for a big list of meetups and conferences all around the world.

👉 All about Code and Ruby

👉 Hanami announced the release of  Hanami 2.2.0.beta2

📢 News from Rails World

📢 Watch David Heinemeier Hansson opening keynote on YouTube:

You can also read a summary of the main points shared by David Teren or another summary here by Kyrylo Silin.

📢 Check the Rails 8.0 Beta release article → Rails 8.0 Beta 1: No PaaS Required 

Here is the list of releases:

Important to note about some of these tools:

📢 David Heinemeier Hansson shared a haiku to encapsulate the core philosophy of Rails and its continual evolution.

Source: @adrianthedev

Tobi Lutke shared about the complexity as a bridge to simplicity:

Source: @tobi

Omar Khattab added:

📢 Ridhwana Khan shared a summary of updates shared by David in their keynote:

Source: @Ridhwana_K

📢 Ruby On Rails announced Announcing the 2024 Rails Luminary Winners: Akira Matsuda & Yukihiro Matsumoto

Source: @rails

You should also see this short interview by Ufuk Kayserilioglu with Akira Matsuda and Yukihiro Matsumoto.

📢 This is a photo where we see together at Rails World three people David Heinemeier Hansson, Adam Wathan (creator of Tailwind) and Taylor Otwell (creator of Laravel):

Source: @taylorotwell

📢 Mariko K shared two quotes from Yukihiro Matsumoto:

Source: @nappan23

Source: @nappan23

📢 Adrian Marin summarized the feeling of how Rails World was:

Source: @adrianthedev

📢 There were a couple of live podcasts being recorded during Rails Word. I managed to collect here a couple of them:

📢 Here are some slides from some of the talks from the conference:

📢 You can see a short video showing how the Rails World experience was here - published by Ruby on Rails.

You can also browse the hashtags on Twitter #RailsWorld, Mastodon #RailsWorld, BlueSky #railsworld.

💻 Code Samples

️💻 Seth Horsley shared a thread about implementing method overloading in Ruby

️💻 Samuel Williams shared some code samples about how `with_connection` and `lease_connection` interact

️💻 Deepak Mahakale shared how to create aliases for commands in Kamal 2:

️💻 RoR Vs Wild shared about the performance of rendering collection:

Source: @rorvswild

️💻 Julian Rubisch shared how they upgraded Kamal to Kamal 2:

️️💻 ️Ruby Cademy shared a tip on how to use render with the assigns: option to avoid extra instance variable assignments in your controller

Source: @RubyCademy

Also checkout another interesting rails trick “all_day()”

Source: @RubyCademy

Here is more about url_from() method that can be used to check if a URL is internal and safe for redirection, returning the URL or nil if not.

Source: @RubyCademy

️💻 Alazycoder shared a top to avoid flaky tests while running tasks from your server, console or tests.

Source: @alazycoder2

️💻 Joel Drapper shared about support for async tasks:

Source: @joeldrapper

️💻 Lucian Ghinda shared a code sample to start a new project with Rails 8.0.0.beta1:

Source: @lucianghinda

📐 Thinking about Code Design

️📐 Nate Berkopec shared about how a big Rails cache can slow Rails:

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

💡 Robby Russell published the results of the Ruby on Rails Community Survey and shared them via a thread. You should read the entire survey at Railsdevelopers.com

️📐 Brad Gessler shared about how Samuel Williams’ work will impact Ruby development:

️️📐 Chime into an interesting discussion by Andrei Bondarev on why Ruby is not adopted for DS/ML/AI work due to the perception that python=data and ruby=web

❤️ Why Choose Ruby and Rails

❤️ Wonokov shared about Ruby being design for programmer happiness:

❤️ Landon Gray shared about the Ruby community:

🧰 Gems, Libraries, Tools and Updates

🆕 New Gems and Repos

🆕 Mike Dalessio published a new gem  tailwindcss-ruby: A self-contained `tailwindcss` executable, wrapped up in a ruby gem

🆕 Chris Oliver announced a new gem ferrum_pdf: A PDF generator for Rails using Ferrum & headless Chrome

🆕 Stanislav Katkov published a new repository jekyll-tailwind-cli-template - Integrating tailwind css and heroicons into Jekyll, without any javascript bundlers

Check the other two new gems here:

🆕 Joel Drapper published a new gem called Flecks - Render IO-bound content asynchronously and stream it into a wrap-around shell in a single HTTP response with Phlex.

🆕 Ben Sheldon started working on a new gem called Spectator Sport - Record and replay browser sessions in a self-hosted Rails Engine. You should read also the article Ben wrote about Spectator Sport, a brief introduction to an upcoming Rails plugin

🆕 Thomas Marshall published a new gem called minitest-verify - A minitest plugin to prevent false negative tests

🧰 Updates

🧰 Chris Oliver announced a new version of pay-rails/pay: Payments for Ruby on Rails apps

🧰 Mike Dalessio announced a new version of Release 2.1.0 / 2024-09-24 · sparklemotion/sqlite3-ruby

🧰 Stan Lo announced a new version of Support go to `let`, `let!`, `subject`, and `subject!` definitions by st0012 · Pull Request #38 · st0012/ruby-lsp-rspec · GitHub

🧰 Typecraft shared GitHub - Typecraft-Workshops/rails: Rails configuration for Neovim and Zellij

👀 Keep an eye on

👀 Sean Doyle proposed Add `Hash#transform_value`

🤝️ Tobias Petry shared about PostgreSQL 17:

🤝 Nate Hopkins shared about the important of reading code and debugging:

More content: 📚 🗞 🎧 🎥 ✍🏾

Thomas Marshall shared their slides from RailsWorld about  Writing tests that fail

🗞 Newsletters

🗞 Ruby On Rails published a new edition featuring Ruby on Rails & Rails 8 beta, DHH keynote, fresh error pages, and more!

🗞 Ruby Weekly published a new edition about The community survey results are in

🗞 Allison published a new edition about Once a Maintainer: Nate Berkopec

🗞 Hotwire Weekly published a new edition about Week 39 - Rails World 2024, Hotwire Native, Hacktoberfest, and more! • Buttondown

🗞 Ruby on Rails published a new edition of This Week in Rails about Ruby on Rails — Rails 8 beta, DHH keynote, fresh error pages, and more!

🗞 Ruby Central published a new edition about September 2024 Newsletter

🗞 Awesome Ruby Newsletter published a new edition about Issue 436 - Design Patterns in Ruby

🎧 Podcasts

🎧 Dead Code Pod published a new podcast about Pondering the Prism (with Kevin Newton) - Dead Code

🎧 Noel Rappin published a new podcast about The Bike Shed: 441: The Pickaxe Book with Noel Rappin

🎧 Adrian Marin published a new podcast about Taylor Otwell: How Rails inspired Laravel 🚀 Live from Rails World 2024!

🎧 Code And The Coding Coders Who Code It published a new podcast about Episode 40 - Jeremy Smith and about Live from Rails World part 1, about Live at Rails World part 3

🎧 The Ruby on Rails Podcast published a new podcast about The Ruby on Rails Podcast Episode 524: Writing Code Using AI with Landon Gray

🎧 The Bike Shed published a new podcast about The Bike Shed: 441: The Pickaxe Book with Noel Rappin

📽️ 🎥 Videos

🎥 Joel Drapper shared a video preview of Flecks how it works and about Streaming Async slots with Phlex

🎥Wnb.Rb published the talks from July and August WNB.rb: A Virtual Community for Women and Non-Binary Rubyists

🎥 Yaroslav Shmarov published a new video about SupeRails | Turbo Native 7. Strada Form Component

🎥 Brad Gessler published a new video about Build Rails Apps with 100% Phlex Components

🎥 Charles Oliver Nutter published a new video about 20 Years of JRuby - Where We've Been and Where We're Going

✍🏾 Articles

What’s new 🆕

🆕 David Copeland published an article about Achieve Static Typing Benefits in Ruby with Keywords Args and Class Constants

🆕 Samuel Williams published an article about Leveraging Falcon and Rails for Real-Time Interactivity

🆕 Alazycoder published a new article about Auditing in Database Applications: Ensuring Data Integrity and Compliance

🆕 Given Ncube published a new article about Implementing Event-Driven Architecture in Rails with Active Support Instrumentation - DEV Community

🆕 Michael Buckbee published a new article about Rearchitecting: Redis to SQLite

🆕 Igor Alexandrov published an article about Rails Thruster 101

🆕 Brandon Weaver continue their series of articles about Let’s Read - Eloquent Ruby - Ch 17, Let’s Read - Eloquent Ruby - Ch 18, Let’s Read - Eloquent Ruby - Ch 19

🆕 Patricio Mac Adden published an article about Debugging a memory-leaking action

🆕 Paweł Świątkowski published an article about Lightweight introduction to mruby

🆕 Dmitry Tsepelev published an article about Terminal–based game in 150 lines

🆕 Jon Sully published an article about How Propshaft Works: A Rails Asset-Pipeline (Visual) Breakdown

How-TOs 📝

📝 Jeffery Morhous published an article about Building Ruby on Rails engines

📝 Rob Race published a new article about How to Build a Twitter Clone with Rails 8 and Turbo 8

📝 Dmitry Tsepelev published a new article on how to create a Terminal–based game in 150 lines

📝 Alexandre Calaça published a new article about How to temporarily skip the pending migration check in Rails

📝 Drifting Ruby published a new article about Kamal 2.0 Issue with AWS ALB

📝 Vini Oyama published an article about Scaling Rails: Setup Multiple Databases with Postgres Logical Replication

📝Rails Designer published an article about Drag & Drop Images with Preview using Stimulus Outlets

All issues