- Short Ruby Newsletter
- Posts
- Short Ruby News - Edition #107
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:
π All about Code and Ruby and π§° Gems, Libraries, and Updates,
[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
Source: 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
Source: [email protected]
π’ 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:
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:
Source: @lateinteraction
π’ 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:
π§ 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 Live from Rails World part 1, about Live at Rails World part 3
π₯ See also this live your talk from Yaro about RailsWorld 2024 Day 2. Letβs go for a walk together!
π’ Here are some slides from some of the talks from the conference:
Yaroslav Shmarov shared their slides Rails 8 Frontend: 10 commandments & 7 deadly sins in 2025
Robbie Russel shared their slides about Resources from Robby's talk at Rails World 2024
Emmanuel Hayford shared their slides about Progressive Web Apps for Rails developers
Greg Molnar shared their slides about Rails World 2024 Slides
π’ 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
Source: @SethHorsley (read full thread here)
οΈπ» Samuel Williams shared some code samples about how `with_connection` and `lease_connection` interact
Source: https://gist.github.com/ioquatix
οΈπ» Deepak Mahakale shared how to create aliases for commands in Kamal 2:
Source: @deepakmahakale
οΈπ» RoR Vs Wild shared about the performance of rendering collection:
Source: @rorvswild
οΈπ» Julian Rubisch shared how they upgraded Kamal to Kamal 2:
Source: @julian_rubisch
οΈοΈπ» οΈ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:
Jekyll::Tailwind - This gem allows you integrate the TailwindCSS Standalone CLI in your Jekyll site a gem that allows to build Jekyll without installing node
Jekyll-Heroicons - Heroicons as a liquid tag for Jekyll gem. that allows the use Heroicons in a Jekyll website
π 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
π 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
π 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
Reply