#693 — March 7, 2024 |
|
Ruby Weekly |
A Cookbook of Ruby One-Liners — Ruby is a fantastic language for one-liners, whether in IRB or from the command line. We’ve linked to this cookbook before but it continues to prove very useful and Sundeep has released a new version of it, along with PDF/EPUB builds, and ▶️ a video explaining the project. Sundeep Agarwal |
Better Know a Ruby Thing: Keyword Arguments — Noel continues a series digging deep into specific Ruby features with a look at keyword arguments, from the basics through to fun stuff like using Noel Rappin |
Your Rails App – Protected by Rails LTS — Rails LTS is the game changer for older Rails applications. Get extended support for old Ruby on Rails versions, Gem replacement, compatibility with modern Ruby versions – and above all: peace of mind knowing your app is secure. Rails LTS by makandra sponsor |
⚠️ RubySec's Advisory Archive — A valuable resource highlighting advisories of security vulnerabilities that affect the Ruby ecosystem. These are rather plentiful, so an Atom feed is available if you want to be notified ASAP. RubySec |
|
📕 Articles & Tutorials |
▶ I Learnt Rails Turbo from a Developer at 37signals.. — And you can too! 😅 I love how Kelvin’s YouTube channel focuses on learning from folks actually using a technology on a daily basis, and this is no exception, with 37signals’ Jorge Manrubia showing off the potential of Turbo for building modern, dynamic webapps without having to write much JavaScript at all. Kelvin Omereshone |
If video isn't your thing, the HotRails Turbo Rails Tutorial is a great onramp, too. |
How to Deploy a Rails App to Render — Render being a hosting platform that might give you Heroku vibes, but somewhat more modern. Jeffrey Morhous |
🌳 Need to Upgrade Rails on a Tight Budget? Try Bonsai by FastRuby — Starting at $2,000/month, Bonsai is the cost-effective way to gradually upgrade your Ruby and Rails versions 🚀 Bonsai by FastRuby.io sponsor |
How the Ruby Interpreter Creates Methods on the Fly — A little metatprogramming to find where Ruby stores methods defined on specific object instances. Matthew O'Donnell |
An In-Depth look at Action Mailbox — If you’d like to allow users to interact with your Rails app via email, Action Mailbox provides a way to route incoming emails to ‘controller-like mailboxes’ for further processing. Cody Norman |
Rails Joe Masilotti |
How We Migrated from Sidekiq to Solid Queue
|
The Simplest Turbo Frame Example
|
🛠 Code & Tools |
Debugbar for Rails — Inspired by similar tools used by other frameworks (or even just the browser devtools), Debugbar adds an area to the bottom of your Rails app’s views (in dev only) that shows off queries, jobs, request details, and more. GitHub repo. Julien Bourdeau |
The Feature Flag Tool We Wanted When We Were in Your Shoes — (And you gotta see the Vim & VS Code integrations.) Prefab sponsor |
Async 2.9: An Awesome Asynchronous Event-driven Reactor for Ruby — If you want an event loop for concurrency, async is for you – here’s a getting started guide. v2.9 introduces Samuel Williams et al. |
Just the Docs: A Jekyll Theme for Documentation Sites — It’s only tangentially Ruby related (but hey, it is for Jekyll) but when I encountered some sites using this theme I knew I had to share it. It’s clean and simple and makes a lot of good design decisions for you out of the box. Patrick Marsceill |
🇬🇧 The British Government's Lightweight Rails Components — The UK government’s official site is a true jewel in the crown, enabling citizens to manage benefits, tax their cars, and the like, and one of increasingly few things they've failed to screw up in recent years. It’s mostly built on Ruby and Rails. X-GOVUK |
|