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

推荐订阅源

Y
Y Combinator Blog
IT之家
IT之家
博客园_首页
人人都是产品经理
人人都是产品经理
博客园 - Franky
I
InfoQ
Recent Announcements
Recent Announcements
P
Proofpoint News Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
GbyAI
GbyAI
大猫的无限游戏
大猫的无限游戏
aimingoo的专栏
aimingoo的专栏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
月光博客
月光博客
Microsoft Security Blog
Microsoft Security Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
B
Blog RSS Feed
MongoDB | Blog
MongoDB | Blog
雷峰网
雷峰网
博客园 - 聂微东
N
Netflix TechBlog - Medium
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The GitHub Blog
The GitHub Blog
D
Docker

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
This Week in Rails: February 13, 2026
David Heinemeier Hansson · 2026-02-13 · via Ruby on Rails: Compress the complexity of modern web apps

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

Add extension point to customize transaction for persistence methods
Extracts the implicit transaction creation in persistence methods into an overridable private method, giving models full control over transaction behavior for save and destroy operations.

Load hook guard
Adds a new guard_load_hooks method to Rails::Railtie that checks if the Rails app is loaded when a load hook is called, with options to log or raise on early loading.

Avoid combinatory explosion of filter parameters
Fixes a performance degradation where using Active Record encryption with many models caused filter_parameters to grow into thousands of entries, producing a massive regexp and making attribute filtering very slow.

ActiveSupport::ParameterFilter: optimize redundant patterns out
Active Record encryption automatically registers deep patterns for all encrypted attributes, which can grow large and impact performance. This performs dead code elimination during the precompilation step to remove redundant filters.

EventReporter: filter events before building the payload
Changes event filtering to only provide the event name, avoiding the cost of building the full payload for filtered events.

Fix Marshal deserialisation of Integer type from Rails 8.0
Fixes a regression where ActiveModel::Type::Integer objects serialised under Rails 8.0 raised NoMethodError when loaded under 8.1. The fix lazy-initialises @max and @min from the correctly restored limit attribute.

Don’t eagerly cache JSON Encoder in ActiveRecord::Type::Json
Caching the encoder when the class is first referenced prevented overriding it later. This now uses ActiveSupport::JSON’s cached encoder instead.

Fix ThroughReflection#association_primary_key with composite keys
Fixes a bug where composite primary_key arrays were converted to a string via .to_s instead of mapping each element, causing UnknownAttributeReference errors on _ids reader methods.

Deprecate Mail::Address.wrap
This deprecates Mail::Address.wrap for removal in 8.2.

Remove the deprecated Multibyte Chars class
Removes the deprecated ActiveSupport::Multibyte::Chars class and String#mb_chars method.

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

Until next time!

Subscribe to get these updates mailed to you.