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

推荐订阅源

Last Week in AI
Last Week in AI
U
Unit 42
博客园 - 【当耐特】
Y
Y Combinator Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Microsoft Security Blog
Microsoft Security Blog
Recent Announcements
Recent Announcements
P
Proofpoint News Feed
Martin Fowler
Martin Fowler
量子位
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
有赞技术团队
有赞技术团队
aimingoo的专栏
aimingoo的专栏
博客园 - 司徒正美
美团技术团队
雷峰网
雷峰网
小众软件
小众软件
G
Google Developers Blog
GbyAI
GbyAI
Jina AI
Jina AI
爱范儿
爱范儿
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
F
Fortinet All Blogs
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
This Week in Rails: bug report template changes, new test...
David Heinemeier Hansson · 2023-12-22 · via Ruby on Rails: Compress the complexity of modern web apps

Friday, December 22, 2023
Posted by Greg

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

Rails World 2024 updates
The venue, the sponsorship options, information about the CFP and the ticket costs were announced this week.

Fix inclusion of url_helpers module in concern
The dynamically generated url_helpers module is an ActiveSupport::Concern. Therefore, when it is included directly in another ActiveSupport::Concern, its included block is deferred until the latter concern is itself included elsewhere. Thus, in that case, the call to base._routes in def self.included(base) will raise NoMethodError because the included block will not yet have defined the _routes method.

Expose assert_queries_match and assert_no_queries_match assertions
Two more Active Record query related test assertions were made public. The new helpers can be used to test that the generated queries match or doesn’t match a regular expression.

Consolidate bug report templates and remove the gem versions
Before this change, two sets of bug report templates were kept in the Rails repository, but the only difference between them was the Rails version they were using. Since changing that is a single line change, there will be a single template for them from now.

Add actionview bug report template
This pull request introduces Action View bug report templates for contributors to reproduce issues with failing ActionView::TestCase instances.

Add webp and avif as allowed formats for active storage to serve inline webp and avif were added to the allowed content types for Active Storage to serve inline.

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

Until next time!

Subscribe to get these updates mailed to you.