---
title: "DHH's Windows odyssey"
publication: "Ruby Weekly"
issue: 693
published_at: "2024-03-07"
canonical_url: "https://rubyweekly.com/issues/693"
---

Plus Ruby one liners, keyword argument fun, and a debugging bar for Rails apps. |        

#​693 — March 7, 2024 

[Read on the Web](https://rubyweekly.com/issues/693)  

Together with [![Makandra\](https://res.cloudinary.com/cpress/image/upload/c_fill,g_auto,e_trim,w_250,h_100/e_make_transparent/co_white,e_outline:7/wrexuzvpv8efeghv2ucz.png)](https://railslts.com/?utm_campaign=ruby-weekly-sponsoring&utm_source=newsletter&utm_medium=paid&utm_term=rails-lts)   

Ruby Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/uqm19d8sfilerb9anspb.jpg)](https://learnbyexample.github.io/learn_ruby_oneliners/)  

[A Cookbook of Ruby One-Liners](https://learnbyexample.github.io/learn_ruby_oneliners/) — 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](https://techhub.social/@learnbyexample/111969613097872354), along with PDF/EPUB builds, and [▶️ a video explaining the project.](https://www.youtube.com/watch?v=nsWVepZruws) 

Sundeep Agarwal   

[Better Know a Ruby Thing: Keyword Arguments](https://noelrappin.com/blog/2024/02/better-know-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 `**nil` to _prevent_ keyword arguments being passed to a method and a cute way to let a method accept keyword _or_ positional arguments. 

Noel Rappin   [![\](https://copm.s3.amazonaws.com/cab143fc.png)](https://railslts.com/?utm_campaign=ruby-weekly-sponsoring&utm_source=newsletter&utm_medium=paid&utm_term=rails-lts) 

[Your Rails App – Protected by Rails LTS](https://railslts.com/?utm_campaign=ruby-weekly-sponsoring&utm_source=newsletter&utm_medium=paid&utm_term=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](https://rubysec.com/advisories/archives/) — 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   

- 🏎 DHH has been [discovering the joys of Windows, WSL and VS Code](https://world.hey.com/dhh/vscode-wsl-makes-windows-awesome-for-web-development-9bc4d528), as well [as Neovim](https://twitter.com/dhh/status/1764340531877105824) and [Android.](https://world.hey.com/dhh/switching-to-android-was-easy-4bf28577) As someone with no small part in encouraging devs to go all-in on Apple (who now seem to be increasingly developer hostile), this is a fun development.
- 📅 The Evil Martians and GitHub are [running a Ruby meetup in the San Francisco Bay Area](https://lu.ma/r6d0lghm) later this month.
- 📅 [Rails Camp West 2024](https://west.railscamp.us/2024) takes place in Idaho this August and you can register now if a Rails summer camp experience appeals to you.
- 🔧 Paweł Urbanek found that [learning Rust changed his approach to Ruby.](https://pawelurbanek.com/rust-ruby-workflow)
- 😕 MySQL platform _PlanetScale_ has made layoffs and [is retiring their free 'hobby' plan.](https://planetscale.com/blog/planetscale-forever)
- ❓ [Active Record or Sequel?](https://blog.appsignal.com/2024/03/06/active-record-or-sequel-which-best-fits-the-needs-of-your-ruby-app.html)🤔  

📕 Articles & Tutorials  

▶[I Learnt Rails Turbo from a Developer at 37signals..](https://www.youtube.com/watch?v=75TwYk6xPR4) — _And you can too!_ 😅 I love how Kelvin’s [YouTube channel](https://www.youtube.com/@dominuskelvin/videos) 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](https://www.hotrails.dev/turbo-rails) is a great onramp, too.  

[How to Deploy a Rails App to Render](https://www.honeybadger.io/blog/deploy-rails-render/) — [Render](https://render.com/) 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](https://go.fastruby.io/f44) — 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](https://engineering.freeagent.com/2024/02/28/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](https://www.codynorman.com/ruby/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 `link_to` and Nested Data Attributes](https://masilotti.com/rails-link_to-nested-data-attributes/) — Easier to read approaches to nested data attributes for Turbo and Strada when creating anchor tags in Rails. 

Joe Masilotti   

[How We Migrated from Sidekiq to Solid Queue](https://www.bigbinary.com/blog/migrating-to-solid-queue-from-sidekiq) 
Chirag Shah   

[The Simplest Turbo Frame Example](https://saaslit.com/blog/ruby/the-simplest-turbo-frame-example) 
David Boureau  

🛠 Code & Tools 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/xyednkxb5respkcnelag.jpg)](https://debugbar.dev/)   

[Debugbar for Rails](https://debugbar.dev/) — 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.](https://github.com/julienbourdeau/debugbar) 

Julien Bourdeau   

[The Feature Flag Tool We Wanted When We Were in Your Shoes](https://prefab.cloud/features/feature-flags/?utm_source=rubyweekly&utm_medium=newsletter) — (And you gotta see the Vim & VS Code integrations.) 

Prefab sponsor   

[Async 2.9: An Awesome Asynchronous Event-driven Reactor for Ruby](https://github.com/socketry/async) — If you want an event loop for concurrency, async is for you – here’s [a getting started guide.](https://socketry.github.io/async/guides/getting-started/index) v2.9 introduces `Scheduler#load` and `Async::Idler` for load shedding and saturation. 

Samuel Williams et al.   

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/jgw4ssonvlpnukufjfhh.jpg)](https://just-the-docs.com/)  

[Just the Docs: A Jekyll Theme for Documentation Sites](https://just-the-docs.com/) — It’s only tangentially Ruby related (but hey, it _is_ for [Jekyll](https://jekyllrb.com/)) 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](https://github.com/x-govuk/govuk-components) — The UK government’s [official site](https://www.gov.uk/) 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   

- [Premailer 1.23](https://github.com/premailer/premailer) – Inline CSS into HTML email. _(We use this for Ruby Weekly!)_
- [Sequel 5.78](https://github.com/jeremyevans/sequel) – Popular database toolkit. Now supports SQLite 3.45+ JSONB functions in`sqlite_json_ops`.
- [ActiveType 2.5](https://github.com/makandra/active_type) – Make any Ruby object _'quack like ActiveRecord.'_
- [re2 2.9](https://github.com/mudge/re2) – Ruby bindings to RE2's safer regexes.
- [Polars Ruby 0.9](https://github.com/ankane/polars-ruby) – Fast DataFrames for Ruby.
- [ruby-pg 1.5.6](https://github.com/ged/ruby-pg) – The Ruby Postgres client.         

Curated by [Peter Cooper](https://twitter.com/cooperx86) and [Glenn Goodrich](https://twitter.com/ruprict).
Published by [Cooperpress](https://cooperpress.com/). 

[Change your email](https://rubyweekly.com/edit_subscription/*|UID|*) or [Stop getting this newsletter.](https://rubyweekly.com/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom 

Other weekly newsletters we publish include [Postgres Weekly](https://postgresweekly.com/), [React Status](https://react.statuscode.com/), [Frontend Focus](https://frontendfoc.us/), and [JavaScript Weekly](https://javascriptweekly.com/).
