#​727 — November 14, 2024

Read on the Web

💎 RubyConf is taking place right now in Chicago – we hope you're having fun if you're there, and look forward to sharing all the news that comes out next week.. ;-)
__
Peter Cooper, your editor

Together with  Crunchy Bridge

Ruby Weekly

A New Chapter for RubyGems: How Ruby Central is Building a Sustainable FutureRuby Central sits at the heart of the Ruby community, maintaining things like RubyGems and Bundler and running RubyConf. Here they tell the full story of RubyGems, its management, and how the new Ruby Central OSS Committee is pushing it forward.

Ruby Central

💡 Ruby Central has also released its first annual OSS report, focused on what improvements have been made to RubyGems, Bundler, Ruby Toolbox, and underlying infrastructure.

🚂 Rails 8.0 Released (No PaaS Required) — Rails 8 has been with us for so long now, the final release almost felt like an anti-climax last week, but it’s a fantastic milestone nonetheless. Kamal steps in to improve deployment, Solid Queue lets you drop Redis and running a separate background job framework (if you wish), Propshaft replaces Sprockets, SQLite steps up to being a first-class database choice, even in prod, and much more besides.

David Heinemeier Hansson

Is Fully Managed Postgres Worth It? — Honeybadger had been self-hosting Postgres. Why would someone with Postgres knowledge choose managed Postgres? Because scaling and operations were taking too much time. Read their case study about the value of moving to managed Postgres on Crunchy Bridge.

Crunchy Bridge sponsor

How We Made a Ruby Method 200x Faster — If you like digging into performance issues and seeing strong end results, this is for you. rack-mini-profiler and flame graphs are used to pinpoint a problem and refactor around it.

Nick Holden (Campsite)

Streaming Rack with Falcon — Rack 3 adds input and output streaming to the web server interface, and here, Samuel runs through all the variations with Ruby and Rack, including how to use it with Rails. Ruby continues to shine as a solid choice for real-time, interactive, performant webapps.

Samuel Williams

IN BRIEF:

▶  DragonRuby Game Toolkit: Lessons LearnedDragonRuby is a fantastic Ruby-based game engine (though it’s not CRuby) that’s no mere toy but used in hundreds of games on multiple platforms. Its creator tells the full story here, including its design, how it differs from standard Ruby, and shows off some examples.

Amir Rajan

Transformation Is Hard, but These CIOs Shared Lessons Learned 🧠 — Tips from CIOs on change, community, iteration, challenges, leadership, collaboration, and human-centered innovation.

Test Double sponsor

📄 Using Hotwire for Inline Form Updates Without Form Submission Akshay Khot

📄 Test a Server with Docker Compose on GitHub Actions Nick Hazekamp

📄 Easy Rails Controller Rate Limiting with Rails.cache Mike Coutermarsh

🛠 Code & Tools

wxRuby3: A Cross Platform GUI Library — Based on the mature wxWidgets GUI toolkit which aims to provide a native look on Windows, macOS, and Linux/GTK. Note the licensing – wxRuby3 is MIT licensed, wxWidgets is LGPL.

Martin Corino

Literal: Runtime Type-Checking for Ruby — Provides types, structured objects, properties, and enums. The built-in types include generic structures that enable some neat use cases (e.g. check that an array is all integers, and other constraints.) It integrates nicely with Rails too. Literally, check it out.

Drapper, Ierodiaconou, et al.

Point-and-Click Observability in Honeybadger — Gleaning insights from your logs has never been easier with Honeybadger’s new point-and-click query mode for BadgerQL. Click to learn more!

Honeybadger sponsor

Redmine 6.0: Ruby's OG Project Management App — A blast from the past! Redmine is a very long-standing Ruby app (now in its third decade..) that you’re sure to have used at some point, if only on Ruby’s issue tracker. It now supports Ruby 3.3 and uses Rails 7.2.

Marius BĂLTEANU

Rails Form Builder: A Copy & Paste Library of Form Building Helpers“Since there is so much value in having this form builder be a part of your code base, we didn’t want to hide the code away in a gem.” GitHub repo.

Brand New Box

Help Needed: Shoryuken: Amazon SQS Thread Based Message Processor for Ruby — A popular library that's just gone into ‘maintenance mode’ and is actively seeking a new maintainer, so do reach out to them if you’re interested.

Pablo Cantero

  • 💳 CreditCardValidations 7.0 – Credit card number validation (e.g. Luhn check, issuer detection). Now supports Rails 7.2+.

  • StripAttributes 1.14 – ActiveModel extension that strips all attributes of leading and trailing whitespace.

  • Bullet 8.0 – Watches queries and helps you avoid N+1 issues. Now supports Rails 8.0.

  • ruby.wasm 2.7 – WebAssembly ports of CRuby for edge/browser use cases.

  • ruby2c v1.1.2 – Translates a static subset of Ruby to C.

  • Optimist 3.2 – Command-line option parser that 'gets out of your way.'

  • 🐇 Hutch 1.3 – A system for processing messages from RabbitMQ.

  • AttrJson 2.5 – JSON-hash-backed ActiveRecord attributes.

  • Refer 1.0 – Referral/affiliate code mechanism for Rails apps.

  • Sidekiq-Cron 2.0 – A scheduler for Sidekiq jobs.

  • Browser 6.1 – Browser detection library.

  • Excon 1.2 – Fast, simple HTTP/1.1 client.

📰 Classifieds

🚨 Running EOL Ruby or Rails? Tech debt slowing you down? Take the first step towards an up-to-date RoR app today with Bonsai by FastRuby.io.


🐘 Postgres user? We have a newsletter for that: Postgres Weekly

🎁 And one for fun..

Stringer: A Self-Hosted, 'Anti-Social' RSS Reader — A Rails app that sticks to the feed reading basics, boasting no social features or ‘fancy machine learning’ at all! It does look pretty nice though.

Matt Swanson et al.