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

推荐订阅源

C
Check Point Blog
美团技术团队
Jina AI
Jina AI
人人都是产品经理
人人都是产品经理
The Cloudflare Blog
V
Visual Studio Blog
Google DeepMind News
Google DeepMind News
Hugging Face - Blog
Hugging Face - Blog
云风的 BLOG
云风的 BLOG
有赞技术团队
有赞技术团队
T
The Blog of Author Tim Ferriss
WordPress大学
WordPress大学
月光博客
月光博客
宝玉的分享
宝玉的分享
小众软件
小众软件
MongoDB | Blog
MongoDB | Blog
Apple Machine Learning Research
Apple Machine Learning Research
A
About on SuperTechFans
J
Java Code Geeks
博客园_首页
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
N
Netflix TechBlog - Medium
Vercel News
Vercel News
博客园 - 聂微东

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
Rails World 2025 speaker lineup, deprecations, doc update...
David Heinemeier Hansson · 2025-05-23 · via Ruby on Rails: Compress the complexity of modern web apps

Friday, May 23, 2025
Posted by Emmanuel Hayford

Hello! Emmanuel Hayford here.

The third edition of Rails World is a couple of months away! In case you missed it, The Rails Foundation has already announced an exciting lineup that you should check out in case you haven’t seen it yet.

Document through with polymorphic A new addition to the Rails documentation clarifies that polymorphic associations are not supported as :through associations. While Active Record already raises an error when such a setup is attempted, the exceptions were previously undocumented. This update makes the restriction explicit in the docs.

Deprecate :class_name for polymorphic belongs_to Passing :class_name to a polymorphic belongs_to is now deprecated and will be removed in Rails 8.1. Since the associated class is already determined by the type column, the option is unnecessary. If you’re using :class_name in this context, you can safely delete it.

Add namespaced version of the db:migrate:reset command. Rails now supports a namespaced version of db:migrate:reset, allowing you to reset only the primary database using db:migrate:reset:primary.

Respect SCHEMA_FORMAT in db:schema:load A fix has been applied to ensure the SCHEMA_FORMAT environment variable behaves as described in the task description. This correction only applies to Rails 7.2 and addresses an oversight from its initial introduction.

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

Until next time!

Subscribe to get these updates mailed to you.