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

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
爱范儿
爱范儿
博客园 - 三生石上(FineUI控件)
Vercel News
Vercel News
M
MIT News - Artificial intelligence
L
LangChain Blog
大猫的无限游戏
大猫的无限游戏
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Microsoft Azure Blog
Microsoft Azure Blog
J
Java Code Geeks
Recent Announcements
Recent Announcements
Stack Overflow Blog
Stack Overflow Blog
人人都是产品经理
人人都是产品经理
IT之家
IT之家
F
Fortinet All Blogs
博客园 - 聂微东
U
Unit 42
Martin Fowler
Martin Fowler
腾讯CDC
博客园_首页
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
量子位
阮一峰的网络日志
阮一峰的网络日志
博客园 - Franky

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 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! Florian Weber launches bellybutton.de 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: May 1, 2026
Greg · 2026-05-01 · via Ruby on Rails: Compress the complexity of modern web apps

Friday, May 1, 2026
Posted by Greg

Hi, it’s Greg, bringing you the latest updates about Rails.

Updated guides await community input
The Asset Pipeline, Layouts & Rendering, Caching, and Active Job Basics Guides have all recently been updated and are open for community input. If you have time and would like to help review, please check the list of pull requests.

Apply for the Rails at Scale Summit
Reminder to apply by May 8 for the Rails at Scale Summit (Sept 22, Austin), a one day, invite-only gathering for engineers working on large-scale Rails applications.

Enable frozen string literal by default
New Rails apps now include a config/bootsnap.rb file that enables frozen string literals. This only impacts the application code, not the dependencies.

It is also possible to enable it for dependencies to reduce allocations, but some older gems may not yet be compatible. If you do attempt this an run into incompatibilites please do report it on the gem’s bug tracker.

Additionally, .rubocop.yml is configured to assume frozen string literals are enabled, if you decide not to enable frozen string literals for your application, make sure to update the rubocop configuration accordingly.

Fix find_signed for models with a composite primary key
ActiveRecord::SignedId::ClassMethods#find_signed raises an ArgumentError for any model that declares a composite primary key (e.g. self.primary_key = [:shop_id, :id]). The bang variant find_signed! works correctly and this pull request makes find_signed consistent with find_signed! and find.

Allow using aliases for unions in from clause
This pull request fixes the issue of #from acceptings unions, but silently ignoring passed aliases. For instance a query like this: SomeModel.from(union, :some_models), produced an error missing FROM-clause entry for table "some_models" in PostgreSQL before this fix.

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.