#​728 — November 21, 2024

Read on the Web

🦃 As it's Thanksgiving next week, we're taking a break. We don't celebrate it in our country, but we know many of you do, so it seemed a good time for a rest. We'll be back on Thursday, December 5.
__
Your editor, Peter Cooper

Together with  reinteractive

Ruby Weekly

▶  Rails 8: The Demo — Whether you love or loathe Rails, DHH’s 2005 ▶️ ‘build a blog in 15 minutes’ screencast introduced many of us to Ruby and Rails’ potential. Here’s DHH’s take for the Rails 8 generation. The usual scaffolding is there, but 20 years later we get a serving of JavaScript, deployment, and authentication too. (30 minutes.)

David Heinemeier Hansson

🏪 In other DHH news, he's joined Shopify's board of directors.

Fixed Price Monthly Code Maintenance for Rails Apps — No time to do those small but critical updates and features? CodeCare will take care of necessary tweaks, bug fixes, upgrades and ongoing improvements for your app.

reinteractive / CodeCare sponsor

|> An Attempt at Elixir-like Pipes in Ruby — Numerous attempts have been made to bring a pipeline operator to Ruby. A newly added operator in Python inspired Victor to take another shot at it using a little AST transformation. It probably still won’t make core, but this is the sort of Ruby experimentation we all love to see.

Victor Shepelev

RubyGems Adds New Maintainer Role — Previously, you either ‘owned’ a gem and could publish new versions or you did not and could not. The new “maintainer” role lands in the middle, letting people publish new versions of a gem without necessarily owning it. A good way to improve security on larger projects with numerous maintainers.

Colby Swandale (RubyGems)

IN BRIEF:

Securing Ruby’s Future: How Ruby Central is Strengthening SecurityRuby Central runs RubyGems.org, so often sits between developers and nefarious entities looking to trick us. It takes a village of sponsors (thank you!) and Rubyists (thank you!), and they’ve been busy improving MFA and building a roadmap to more secure and verifiable gems.

Ruby Central

WorkOS: Sell to Enterprises with a Few Lines of Code — The modern identity platform for B2B SaaS, offering flexible, easy-to-use APIs to integrate SSO, SCIM, and FGA in minutes instead of months.

WorkOS sponsor

📄 Processing Slow Network Requests with Turbo and Active Model Steve Polito (Thoughtbot)

▶️ Helping Rails Developers Learn Postgres with Andrew Atkinson Talking Postgres Podcast

📄 Dissecting Bridgetown 2.0’s Signalize-based Fast Refresh Jared White

📄 Show All Running Apps on the Server with Kamal Josef Strzibny

📄 Subclassing STI Models in Rails Josef Strzibny

🛠 Code & Tools

Sinatra 4.1: The Popular Ruby Webapp DSL — Now includes host authorization, rackup no longer depends on WEBrick though it's still supported (Puma is recommended instead), and fixes some Ruby 3.4 and Rack 3.1 compatibility issues. Full changelog.

Sinatra Team

Pry 0.15: The IRB Alternative / Runtime Developer Console — Despite the many improvements made to IRB in recent years, Pry remains a popular alternative. v0.15.0 adds support for Ruby 3.3 and Reline.

John Mair et al.

Automate Embedding Creation and Syncing in Postgres with pgai Vectorizer — 🚀 pgai Vectorizer automates embedding creation and syncing in Postgres with one SQL command—keeps embeddings updated, no tools needed.

Timescale sponsor

Mittsu 0.5: A 3D Graphics Library for Ruby — A Three.js-inspired Ruby abstraction over OpenGL. Now with the ability to load STL models.

Danielle Smith

Nokolexbor: A Faster Drop-in Replacement for Nokogiri — A Lexbor-based HTML5 parser that claims to be “5.2x faster at parsing HTML and up to 997x faster at CSS selectors.”

SerpApi

TTY::Links 0.2: Hyperlinks in Your Terminal — Test to see if a terminal supports hyperlinks and outputs them correctly if so.

Piotr Murach

📰 Classifieds

😅 Thinking about a big rewrite? Don’t do it! Here’s why.


Hookdeck: An alternative to Amazon API Gateway + Lambda + SQS. With local dev, debugging, and observability built-in.


🚀 Need an Action Plan to Upgrade to the latest Rails and Ruby? Know how long it will take before you begin with a Roadmap from FastRuby.io.