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

推荐订阅源

人人都是产品经理
人人都是产品经理
Google DeepMind News
Google DeepMind News
博客园 - 【当耐特】
量子位
博客园 - 司徒正美
爱范儿
爱范儿
Hugging Face - Blog
Hugging Face - Blog
博客园 - 聂微东
Jina AI
Jina AI
J
Java Code Geeks
腾讯CDC
大猫的无限游戏
大猫的无限游戏
V
Visual Studio Blog
I
InfoQ
D
Docker
Recent Announcements
Recent Announcements
MongoDB | Blog
MongoDB | Blog
博客园 - Franky
宝玉的分享
宝玉的分享
G
Google Developers Blog
GbyAI
GbyAI
Y
Y Combinator Blog
有赞技术团队
有赞技术团队
H
Help Net Security

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
ActiveJob serialize array improvements, rails/info/routes...
David Heinemeier Hansson · 2025-09-12 · via Ruby on Rails: Compress the complexity of modern web apps

Friday, September 12, 2025
Posted by vipulnsward

Hi everyone, it’s Vipul. Let’s explore this week’s changes in the Rails codebase!

Do not add seed step to config/ci if active record is skipped
This PR ensures that in CI configuration templates, Rails does not add a db:seed step when Active Record is skipped. This prevents CI failures or unnecessary steps for applications that are database-free or that intentionally disable Active Record.

AJ serialize array
Improves how arrays are handled in ActiveJob argument serialization. Ensures serialized arrays round-trip correctly and fixes inconsistencies/bugs in how arrays were converted or stored.

Restore exact behavior of AJ Arguments.serialize
Brings back previous behavior of the ActiveJob::Arguments.serialize method to avoid breaking changes, so that apps depending on old behavior won’t be surprised by serialization differences.

Job-date: fix date/time parsing in job arguments
Fixes situations where when ActiveSupport.parse_json_times is enabled, date/time values in job arguments could end up as plain strings. Now, dates/times are properly parsed back into Time (or appropriate time objects), preserving the intended type through serialization.

Suppress debug events in tests “ac no debug events in test”
Updates ActionController (or related) test behavior so that debug-level events are not emitted during test runs. Less log noise, more predictable test outcomes.

Fixes and refinements to deliver_all_later
Multiple improvements ensure mailers scheduled with deliver_all_later are never processed inline or duplicated, while also adding support for passing job options like queue and priority for more reliable background delivery.

Emit structured debug events in development only
Changes so that structured debug events are only emitted in the development environment, reducing overhead and unwanted information in test/production environments.

Show engine routes in /rails/info/routes
Enhances the routes/info page (/rails/info/routes) to include routes from any mounted engines in the application, making debugging easier when engines are used.

Optimize getting primary keys for PostgreSQL
Improves efficiency of retrieving primary keys in PostgreSQL (faster introspection of table schemas, possibly making migrations or reflection-based operations snappier).

Fix Bootsnap precompilation in Docker builds
Addresses issues with precompiling Bootsnap cache inside Docker builds; ensures that the compile cache setup works in containerized environments correctly.

Allow disabling action_controller.logger
Adds support to disable the ActionController logger by setting it to nil or false. Useful in environments where full logging is too verbose.

Fix Auth generator to skip tests unless Minitest is used
Updates the authentication generator to only generate test files if the app is using Minitest. Keeps generator output cleaner for users of other test frameworks.

Improve route visualizer regex labels
Makes route visualizer output more readable by adding better labels to regex/constrained routes; helps developers see what patterns or constraints are applied.


You can view the whole list of changes here.

We had 30 contributors to the Rails codebase this past week!

Until next time!