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

推荐订阅源

Google DeepMind News
Google DeepMind News
B
Blog RSS Feed
量子位
aimingoo的专栏
aimingoo的专栏
V
Visual Studio Blog
Y
Y Combinator Blog
Vercel News
Vercel News
云风的 BLOG
云风的 BLOG
宝玉的分享
宝玉的分享
Engineering at Meta
Engineering at Meta
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
GbyAI
GbyAI
人人都是产品经理
人人都是产品经理
博客园 - 叶小钗
Stack Overflow Blog
Stack Overflow Blog
大猫的无限游戏
大猫的无限游戏
Microsoft Security Blog
Microsoft Security Blog
B
Blog
Last Week in AI
Last Week in AI
有赞技术团队
有赞技术团队
博客园 - 聂微东
腾讯CDC
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
J
Java Code Geeks

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
A new touch option, accessing the editor from the error p...
David Heinemeier Hansson · 2025-07-18 · via Ruby on Rails: Compress the complexity of modern web apps

Hi, it’s Claudio Baccigalupo. So many great changes to the Rails codebase this week. Let’s check them out.

Add touch option to update_column(s)
Particularly useful for ETL processes that rely on the updated_at timestamps instead of copying the whole table. Previously, to keep timestamps current, the touch method had to be called after using update_column.

Add support to open files in the code editor from the crash page
All the most common editors are supported, from Atom to Zed.

Fix errors when query string keys have invalid encoding
Bots hitting your Rails app with malformed requests could generate noisy 500 Server Errors. After this PR the requests won’t be reported as an app exception.

Fix log message for down migrations
When reverting a migration, the message in the log will stop saying “Migrating to [version]” and will instead say “Reverting [version]”.

Raise an error in finder methods when the model has no ORDER columns
Adds a new ActiveRecord::MissingRequiredOrderError which gets raised in methods like last and find_nth when there are no order columns to use for the default order.

Return a 500 on MissingController errors
A controller not existing isn’t a routing error that should result in a 404, but a programming error that should result in a 500 and be reported.

Optimize Active Record batching further when using ranges
Improves the efficiency of the in_batches method by using OFFSET in the SQL query when the use_ranges: true option is provided.

Optimize ActiveSupport::SafeBuffer
Saves allocating unnecessary memory based on the assumption that the overwhelming majority of SafeBuffer instances are never mutated.

Ensure RequestForgeryProtection#normalize_action_path is private
The method added in 033acf8 was not intended to be public.

Add tsort as a runtime dependency to railties
tsort has been extracted from the Ruby standard library and is now included as a gem.

Propshaft upgraded to 1.2.0
See what has changed in the latest release of the library.

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

Until next time!

Subscribe to get these updates mailed to you.