---
title: "Here's how IRB's getting better"
publication: "Ruby Weekly"
issue: 712
published_at: "2024-07-18"
canonical_url: "https://rubyweekly.com/issues/712"
---

Plus running Rails on AWS Lambda, a little Minesweeper, and Tenderlove on the mic. |        

#​712 — July 18, 2024 

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

Together with [![reinteractive\](https://res.cloudinary.com/cpress/image/upload/c_fill,g_auto,w_900,h_186/e_make_transparent/co_white,e_outline:9/goq5p4n0bj1gcxvxkfel.png)](https://reinteractive.com/ai-proof-of-concept)   

Ruby Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/gijaeijxmyyfu1sz2tqs.jpg)](https://railsatscale.com/2024-07-11-mid-year-review-irb-and-rails-console-enhancements-in-the-first-half-of-2024/)  

[IRB and Rails Console Enhancements in 2024 So Far](https://railsatscale.com/2024-07-11-mid-year-review-irb-and-rails-console-enhancements-in-the-first-half-of-2024/) — The last six months have brought a much-improved help system, a new extension API (so you can write your own IRB commands), a better `show_source`, easier debugging, and some Rails console improvements, such as showing your environment in the prompt. Be sure to have the `irb` gem in your Gemfile. 

Stan Lo   [![\](https://copm.s3.amazonaws.com/1bd64425.png)](https://reinteractive.com/ai-proof-of-concept) 

[Is AI Just Hype for Your Business?](https://reinteractive.com/ai-proof-of-concept) — Many are exploring AI, but few are realising its full potential. Let's turn your AI vision into a tangible solution. Our AI expert can quickly assess your idea & create a proof of concept to demonstrate the feasibility of your AI project. Book a call. 

reinteractive::Custom AI integrations with RoR sponsor   

[Ruby Methods are 'Colorless'](https://jpcamara.com/2024/07/15/ruby-methods-are.html) — The latest in a series on concurrency and asynchronous programming in Ruby tackles [a concept raised by Bob Nystrom](https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/) where color is used to distinguish synchronous and async functions and how they interact. Ruby skips around this idea, as JP demonstrates. A good post to go a little deeper on your thinking about Ruby's sync/async situation. 

JP Camara   

**IN BRIEF:** 

- 🎧 Aaron 'tenderlove' Patterson of both the Ruby and Rails core teams [went on the Rails Changelog podcast](https://www.railschangelog.com/25) to talk about Rails, compilers, and profiling with Emmanuel Hayford.
- 🎤 Got some podcasting ambitions of your own? [Rails World and Buzzsprout are teaming up](https://rubyonrails.org/2024/7/15/launch-your-podcast-at-rails-world) to both offer potential podcasters an interesting opportunity, as well as dedicated recording space for existing podcasters.
- If you haven't taken the biennial [Ruby on Rails Community Survey](https://railsdeveloper.com/survey/), now's the time – it's only open for another week or so.
- There are also just [four days left for RubyConf 2024's CFP.](https://sessionize.com/rubyconf-2024/) If you're stuck for ideas, Joël Quenneville suggests [fleshing out a talk idea using a rubric.](https://thoughtbot.com/blog/flesh-out-your-conference-talk-idea-using-a-rubric)  

📄 Articles & Tutorials 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/v1721295315/ucr1m8pwy2mqox4bgci5.png)](https://radanskoric.com/experiments/minesweeper-100-lines-of-clean-ruby)  

[Implementing Minesweeper in 100 Lines of Clean Ruby](https://radanskoric.com/experiments/minesweeper-100-lines-of-clean-ruby) — A well-explained, interesting, and, perhaps, _fun_ tutorial that uses some of the more recent language features, like the `Data` class and endless methods, resulting in the impressive LOC count. Now I wanna spin up Windows 3.1 again.. 

Radan Skorić   

[Puma-dev and Using It with Rails Apps](https://blog.saeloun.com/2024/07/12/rails-puma-dev/) — [Puma](https://github.com/puma/puma) is a popular choice in the Ruby/Rack web server space and [Puma-dev](https://github.com/puma/puma-dev) takes it a step further in managing local apps in dev with local https and domains for separate apps. 

Prasanth Chaduvula   

[Developer’s Guide to Autoscaling on Heroku](https://judoscale.com/blog/autoscaling-heroku-ultimate-guide?ref=RubyWeekly) — Still dorking around with your dyno slider? We’ll show you the what, why, and how for autoscaling. 

Judoscale sponsor   

[Startups on Rails in 2024: My Keynote at RailsConf](https://evilmartians.com/chronicles/startups-on-rails-in-2024-my-keynote-at-railsconf) — _Evil Martians’_ Irina Nazarova reflects on her RailsConf 2024 talk, focusing on the continuing role of Rails in modern tech startups. 

Irina Nazarova   

💡 Don't forget [all of the talks from RailsConf 2024](https://www.youtube.com/playlist?list=PLbHJudTY1K0chrs_E_XFz2pOJ3d8jCayh#railsconf2024) are now on YouTube.  

[Accessing Request Headers in a Rails Controller](https://kevinjmurphy.com/posts/access-request-headers-in-rails-controller/) — A look at how digging into the request headers helped to debug a failing spec. 

Kevin Murphy   

[An Introduction to Auth0 for Rails](https://blog.appsignal.com/2024/07/17/an-introduction-to-auth0-for-ruby-on-rails.html) — Auth0 is a commercial, but popular, auth platform with a generous free tier and presents an alternative to Devise if you want things more ‘managed.’ 

Thomas Riboulet (AppSignal)   

📄 [Rails Adds `SKIP_TEST_DATABASE_TRUNCATE` Flag to Speed Up Multi Process Test Runs](https://blog.saeloun.com/2024/07/17/rails-SKIP_TEST_DATABASE_TRUNCATE-flag-to-speed-up-multi-process-test-runs/) Prasanth Chaduvula 

📄 [Adding a “X is writing…” Feature with Rails and Turbo](https://railsdesigner.com/ux-is-typing/) Rails Designer  

🛠 Code & Tools 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/urj35lggehk4zpvgwhuo.jpg)](https://lamby.cloud/)  

[Lamby 6.0: Rails + AWS Lambda Integration for Rack](https://lamby.cloud/) — Lamby is the culmination of all Ken’s knowledge on the topic of running Rails serverlessly on AWS’s stack. There’s some [quick start](https://lamby.cloud/docs/quick-start) documentation if you want to see how it comes together. v6 switches things over from Rack v2 to v3. 

Ken Collins   

[Bashly 1.2: Bash CLI Script Generator](https://bashly.dannyb.co/) — Declare the basic user-facing elements of a CLI tool (arguments, environment variables, command groups, default values, and more) and Bashly _generates_ the **Bash** code to make it a reality. There are [numerous examples](https://github.com/DannyBen/bashly/tree/master/examples#bashly-examples) in the [GitHub repo.](https://github.com/DannyBen/bashly) 

Danny Ben Shitrit   

[🚀 Stuck on Ruby 2.7? Need to Upgrade on a Budget?](https://go.fastruby.io/q6l) — Gradually pay down tech debt: Stop postponing your upgrade, ship it with our cost-effective maintenance service. 

Bonsai by FastRuby.io sponsor   

[Hanami 2.2.0 Beta 1 Released](https://hanamirb.org/blog/2024/07/16/hanami-220beta1/) — This new beta of the popular Ruby web framework offers up a preview of a new database layer (based upon [Ruby Object Mapper](https://rom-rb.org/)), as well a new approach (operations) for organizing business logic. 

Tim Riley   

- [Slack Ruby Client 2.4](https://github.com/slack-ruby/slack-ruby-client) – Access Slack's Web, Real Time Messaging and Event APIs in Ruby or via a CLI. v2.4 now supports Ruby 3.3.
- [ViewComponent 3.13](https://github.com/ViewComponent/view_component) – Build encapsulated view components for Rails.
- [ValidEmail2 5.2.4](https://github.com/micke/valid_email2) – ActiveModel validation for email addresses.
- [Langchain.rb 0.14](https://github.com/patterns-ai-core/langchainrb) – Framework to build LLM-backed Ruby apps.
- [HighLine 3.1](https://github.com/JEG2/highline) – A higher level command-line oriented interface.
- [Rage 1.6](https://github.com/rage-rb/rage) – HTTP API framework compatible with Rails.
- [Kamal 1.8](https://github.com/basecamp/kamal/releases/tag/v1.8.0) – The container-based app deployer.
- [Rails 7.2.0 Beta 3](https://github.com/rails/rails/releases/tag/v7.2.0.beta3) – 7.2 surely isn't far off..         

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/).
