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

[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

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:

πŸ“’ Check the Rails 8.0 Beta release article β†’ Rails 8.0 Beta 1: No PaaS Required 

Here is the list of releases:

  • Kamal 2 release (including kamal-proxy, automatic HTTPs with Let’s Encrypt, Deploy many applications to one server, aliases and commands for secret management)

  • A new gem Solid Cable - A database backed ActionCable adapter -

  • Solid Queue 1.0 released (with safe and atomic batch operations to discard, retry and unblock jobs, enqueueing in bulk, recurring (cron-style) jobs, proper logging and instrumentation, lifecycle hooks, simplified installation)

  • Hotwire Native - β€œHotwire Native is the consolidation of the Turbo Native and Strada libraries into a single framework for iOS and Android”

  • Propshaft becoming the default asset pipeline (read this initial announcement from 2022 about why use this)

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

Source: @rails

πŸ“’ 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

οΈπŸ’» 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

Check the other two new gems here:

🧰 Updates

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

πŸ‘€ 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 Weekly published a new edition about The community survey results are in

πŸ—ž Allison published a new edition about Once a Maintainer: Nate Berkopec

πŸ—ž 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

🎧 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

πŸŽ₯ Brad Gessler published a new video about Build Rails Apps with 100% Phlex Components

✍🏾 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

πŸ†• Michael Buckbee published a new article about Rearchitecting: Redis to SQLite

πŸ†• Igor Alexandrov published an article about Rails Thruster 101

πŸ†• 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

Reply

or to participate.