惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Blog — PlanetScale
Blog — PlanetScale
B
Blog
A
About on SuperTechFans
大猫的无限游戏
大猫的无限游戏
爱范儿
爱范儿
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
H
Help Net Security
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 三生石上(FineUI控件)
有赞技术团队
有赞技术团队
酷 壳 – CoolShell
酷 壳 – CoolShell
WordPress大学
WordPress大学
IT之家
IT之家
D
Docker
Google DeepMind News
Google DeepMind News
罗磊的独立博客
T
The Blog of Author Tim Ferriss
aimingoo的专栏
aimingoo的专栏
博客园 - 叶小钗
Recent Announcements
Recent Announcements
阮一峰的网络日志
阮一峰的网络日志
D
DataBreaches.Net
博客园 - 司徒正美
Engineering at Meta
Engineering at Meta

Ruby on Rails: Compress the complexity of modern web apps

Safer to_i coercion, custom to_fs formats, and more! This Week in Rails: May 16, 2026 This Week in Rails: May 8, 2026 This Week in Rails: May 1, 2026 Active Record gets better every week Great big Rails World 2026 update: CFP, Corporate Support tickets, workshops Query command for database queries and more Explicit query: and body: kwargs for integration tests and more! Speedup ActiveRecord::LogSubscriber#sql_color and more! This Week in Rails: March 27, 2026 Rails Versions 8.0.5 and 8.1.3 have been released! Rails Versions 7.2.3.1, 8.0.4.1, and 8.1.2.1 have been released! This Week in Rails: March 20, 2026 Validate URI scheme in Action Text and more This Week in Rails: March 6, 2026 Planning Center is the newest Rails Foundation Contributing member Action Text gets Markdown conversion, editor links in devcontainers, and more! BARRA seeks Rails developer Joe Agliozzo is looking for a Rails developer The rise of lighttpd as the alternative web server When longer is better and more is more Snowdevil: First e-tailer on Rails Natural selection for frameworks in Ruby vs Java Address book tutorial in Portuguese Becoming a better programmer with Rails 10 Things Every Java Programmer Should Know About Ruby Really Getting Started in Rails Off the Treadmill, Onto the Rails Rails 0.9.5: A world of fixes and tweaks Rich clients with Rails and XUL
Minimal apps, reply_to address, rotate secrets, podman su...
David Heinemeier Hansson · 2025-01-31 · via Ruby on Rails: Compress the complexity of modern web apps

Friday, January 31, 2025
Posted by claudiob

Hi, it’s Claudio Baccigalupo. Let’s explore this week’s changes in the Rails codebase.

Extend –minimal option
rails new --minimal allows to create a basic Rails app, but recent additions to Rails were still included. Moving forward, this option will also skip Brakeman, CI, Docker, Kamal, RuboCop, Solid trifecta, and Thruster.

Add reply_to_address to Mail::Message
When using Action Mailer you can now specify a reply_to: email address in addition to the to: recipient.

Load the routes in the console when calling app
Have you ever needed to see what route helpers are available inside an IRB session? Moving forward they will be loaded in the app IRB helper.

$ bin/rails c
$ > app.root_path # => "/"

Fix rotate(on_rotation:)
MessageVerifier and MessageEncryptor were intended to accept an on_rotation callback but that wasn’t the case. This PR fixes the behavior.

Accept on_rotation argument in find_signed
Building on the previous change, find_signed and find_signed! now accept an on_rotation callback. This callback is triggered whenever the signed_id_verifier uses rotated secret keys, making it valuable for monitoring and tracking purposes.

Make the devcontainer script work with podman
podman is an alternative to Docker. If you have it installed, the devcontainer script will use it, otherwise it will fall back to Docker.

Fix Active Record instrumentation to be thread safe
When using Active Record async feature, the instrumentation was not thread safe. With the right race condition, instrumentation subscriptions would never fire up.

Fix inverting rename_enum_value options
Did you know that you can rename an enum in your migrations using rename_enum_value? This commit fixes a bug so the :from and :to options are parsed correctly.

Fix routes being cleared when using reload_routes!
Calling Rails.application.reload_routes! will now load all the routes without resetting them if they were already loaded.

You can view the whole list of changes here. We had 23 contributors to the Rails codebase this past week!

Until next time!