---
title: "Rails 7.2 released"
publication: "Ruby Weekly"
issue: 715
published_at: "2024-08-15"
canonical_url: "https://rubyweekly.com/issues/715"
---

Plus getting the Rage at WebSockets. |        

#​715 — August 15, 2024 

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

👋 We're back from taking a week off, though I am still technically on the final day of my vacation, so this is a shorter than usual issue ;-) Back to full service next week!
__
_Peter Cooper, your editor_ 

Together with [![WorkOS\](https://res.cloudinary.com/cpress/image/upload/c_fill,g_auto,w_514,h_98/e_make_transparent/co_white,e_outline:9/tdfxwgk852ui9leli4wm.png)](https://workos.com/?utm_source=cpruby&utm_medium=newsletter&utm_campaign=q32024)   

Ruby Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/ckuuuzjzj4zrnerj4mjs.jpg)](https://rubyonrails.org/2024/8/10/Rails-7-2-0-has-been-released)  

[Rails 7.2: Better Production Defaults, Dev Containers, New Guides Design, and More](https://rubyonrails.org/2024/8/10/Rails-7-2-0-has-been-released) — Rails 7.2 is out, and it’s a doozy. After year(s) of talk, testing, and use, YJIT is now enabled by default (for Ruby 3.3 and higher), and dev containers are here so that you can Dockerize your dev environment easily. 

Rails   

[Railing Against Time: Tools and Techniques for 5x Faster Tests](https://evilmartians.com/chronicles/railing-against-time-tools-and-techniques-that-got-us-5x-faster-results) — A look at how _Evil Martians_ recently helped a client optimize their CI pipeline and test and change their code faster, ultimately getting five times faster results. [Stackprof](https://github.com/tmm1/stackprof) and [TestProf](https://evilmartians.com/opensource/testprof) to the rescue. 

Vitalii Yulieff   [![\](https://copm.s3.amazonaws.com/89697355.png)](https://workos.com/?utm_source=cpruby&utm_medium=newsletter&utm_campaign=q32024) 

[WorkOS: The Modern Identity Platform for B2B SaaS](https://workos.com/?utm_source=cpruby&utm_medium=newsletter&utm_campaign=q32024) — WorkOS is a modern identity platform for B2B SaaS, offering flexible and easy-to-use APIs to integrate SSO, SCIM, and RBAC in minutes instead of months. It's trusted by hundreds of high-growth startups such as Perplexity, Vercel, Drata, and Webflow. 

WorkOS sponsor   

[Return an Enumerator When Your Collection Has Multiple Traversals](https://thoughtbot.com/blog/return-an-enumerator-when-your-collection-has-multiple-traversals) — `#each` makes a lot of sense when a collection has one obvious way to be iterated over, but if there are various approaches all at play at once, the Enumerator abstraction can make things cleaner. 

Joël Quenneville   

**IN BRIEF:** 

- [RubyMine 2024.2](https://blog.jetbrains.com/ruby/2024/08/rubymine-2024-2-is-out/), the latest version of JetBrains' commercial Ruby IDE, is now available.
- 🏆 [Nominations are now open](https://rubyonrails.org/2024/8/2/nominations-open-for-2024-luminaries) for the 2024 _Rails Luminary Awards._
- 🔥 [Matz and DHH will share the stage](https://rubyonrails.org/2024/8/7/matz-and-dhh-fireside-chat) for the first time ever at _Rails World_ next month for a fireside chat about Ruby, Rails and all things open source.
- 📅 [Rocky Mountain Ruby 2024](https://rockymtnruby.dev/) is taking place this October in Boulder, Colorado.   

[An Introduction to Minitest Mocks](https://nts.strzibny.name/minitest-mocks/) — Test doubles likes mocks and stubs can help isolate code being tested from the rest of a system and Minitest has its own approach for these. 

Josef Strzibny   

[Building a Modal Form with Rails, Turbo, and the `dialog` Element](https://mattbrictson.com/blog/turbo-modal) — How to practically apply Turbo Frames and Turbo Streams using a gradual, layered approach on top of standard Rails scaffolding, with only one line of JavaScript needed. 

Matt Brictson   

[Why You Should Use Rails' Logger Block Syntax](https://willj.net/posts/you-should-use-the-rails-logger-block-syntax/) — How to use block syntax when using your logger with Rails to save object allocations and CPU time. 

Will Jessop   

[Why You Should Participate in Friendly.rb This September](https://allaboutcoding.ghinda.com/why-you-should-participate-to-friendlyrb-in-september-2024) — Following up on a successful 2023 outing, [Friendly.rb](https://friendlyrb.com/) is back in Bucharest, Romania next month. 

Lucian Ghinda   

▶[Discussing Euruko with Muhamed Isabegovic](https://www.therubyonrailspodcast.com/521) — [EuRuKo](https://euruko.org/) is Europe’s longest running Ruby conference. 

The Ruby on Rails Podcast podcast   

📄 [How to Use Dev Containers with Rails 7.2](https://gorails.com/episodes/how-to-use-dev-containers-with-rails) Chris Oliver and Collin Jilbert 

📄 [An Introduction to HTTP Caching in Rails](https://blog.appsignal.com/2024/08/14/an-introduction-to-http-caching-in-ruby-on-rails.html) Julian Rubisch 

📄 [45 VS Code Shortcuts for Boosting Your Productivity](https://www.sitepoint.com/visual-studio-code-keyboard-shortcuts/) Shahed Nasser 

📺 [Processing Large Jobs on Top of Solid Queue](https://www.driftingruby.com/episodes/processing-large-jobs) David Kimura 

📄 [`git push --force` and How to Deal with It](https://evilmartians.com/chronicles/git-push---force-and-how-to-deal-with-it) Andrey Novikov  

🛠 Code & Tools  

[childprocess 5.1: Cross-Platform Library for Managing Child Processes](https://github.com/enkessler/childprocess) — A long standing library (the first version came out in 2010) for controlling external programs on any combination of CRuby/JRuby and OS. 

Eric Kessler   

[temporary_tables: Create Temporary Tables for RSpec Tests](https://github.com/keygen-sh/temporary_tables) — Create temporary tables and models in specs, rather than create and maintain a dummy Rails app or block-level constants. 

Keygen LLC   

[🔓 Is Your Rails App Secure? Need to Upgrade on a Budget?](http://go.fastruby.io/bonsai-rails) — Talk is Cheap. [Experience is King](https://www.fastruby.io/blog/is-it-expensive-to-upgrade-rails.html#:~:text=We%20have%20invested%20more%20than%2030%2C000%20hours%20in%20total%20in%20upgrading%20Rails%20applications%2C%20having%20completed%20more%20than%20100%20upgrade%20projects.%20In%20this%20article%2C%20we%E2%80%99ll%20leverage%20our%20historical%20data%20and%20what%20we%20learned%20to%20help%20you%20answer%20this%20question%3A%20How%20much%20will%20this%20cost%3F). Bonsai by [FastRuby.io](https://www.fastruby.io/?utm_source=cooperpress&utm_medium=paidplacement&utm_campaign=experience-is-king&utm_term=rails-upgrades-on-autopilot&utm_content=textonly) is a monthly upgrade service for top-notch engineering teams 🚀 

Rails Upgrades on Autopilot sponsor   

[Rails 8 Introducing a Basic Authentication Generator](https://www.bigbinary.com/blog/rails-8-introduces-a-basic-authentication-generator) — While the next major version of Rails is still a little way off, we can already see some of Rails’ future features in commits made to the edge version. 

Jaimy Simon   

- [Rage 1.8](https://github.com/rage-rb/rage) – HTTP API framework compatible with Rails. Now with [support for WebSockets.](https://github.com/rage-rb/rage/wiki/WebSockets-guide)
- [Mission Control Jobs 0.3](https://github.com/rails/mission_control-jobs) – Dashboard and Active Job extensions to operate and troubleshoot background jobs.
- [bundle_update_interactive 0.7](https://github.com/mattbrictson/bundle_update_interactive) – A stylish interactive mode for Bundler. See what gems can be updated, then pick and choose which ones to update.
- [Whois 6.0](https://github.com/weppos/whois) – Smart pure Ruby WHOIS client and parser.
- [Isolator 1.1](https://github.com/palkan/isolator) – Detect non-atomic interactions within DB transactions.
- [AttrJson 2.4](https://github.com/jrochkind/attr_json) – JSON-hash-backed ActiveRecord attributes.
- [Stripe::Rails 2.6](https://github.com/tansengming/stripe-rails) – A Rails engine for integrating Stripe.
- [Gemsmith 22.2](https://github.com/bkuhlmann/gemsmith) – CLI tool for smithing Ruby gems.         

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