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

推荐订阅源

P
Proofpoint News Feed
V
V2EX
WordPress大学
WordPress大学
Google DeepMind News
Google DeepMind News
Martin Fowler
Martin Fowler
小众软件
小众软件
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
The Cloudflare Blog
T
Tailwind CSS Blog
H
Help Net Security
腾讯CDC
爱范儿
爱范儿
人人都是产品经理
人人都是产品经理
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The GitHub Blog
The GitHub Blog
Microsoft Security Blog
Microsoft Security Blog
Stack Overflow Blog
Stack Overflow Blog
D
DataBreaches.Net
C
Check Point Blog
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com

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
New Rails Foundation Guides PR, fix affected_rows for SQL...
David Heinemeier Hansson · 2025-06-13 · via Ruby on Rails: Compress the complexity of modern web apps

Friday, June 13, 2025
Posted by vipulnsward

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

New Guides Pull Request for review
A new guides Pull Request is up, which updates the Active Record Encryption Guide. If you are well versed in these areas, please review and submit your feedback on the PR!

We also have 2 other Guides PRs open where you can help out!

Fix affected_rows for SQLite adapter
This update refines the SQLite adapter’s affected_rows logic. It addresses two issues: #changes wasn’t reset for non-mutating queries like SELECT, while #total_changes could overcount due to including cascading deletes. The new approach uses #total_changes to detect whether any rows were affected and #changes to return the most accurate count.

Add ability to change the transaction isolation for all pools within a block This change introduces a new method, ActiveRecord.with_transaction_isolation_level, which allows temporarily changing the transaction isolation level for all database pools accessed within a block. This simplifies handling multiple databases or shards by avoiding the need to loop through each pool individually, improving performance and easing transaction management.

Active Job Continuations improvements
This PR improves Active Job’s continuation system by adding runtime instrumentation for each step, introducing configurable job resumption options; preventing checkpoints inside database transactions; adjusting checkpoint timing to before each step; and ensures errors are raised if step order changes when resuming.

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

Until next time!

Subscribe to get these updates mailed to you.