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

推荐订阅源

D
DataBreaches.Net
IT之家
IT之家
博客园_首页
博客园 - 【当耐特】
V
V2EX
Apple Machine Learning Research
Apple Machine Learning Research
G
Google Developers Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
GbyAI
GbyAI
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
I
InfoQ
H
Help Net Security
T
Tailwind CSS Blog
B
Blog RSS Feed
Martin Fowler
Martin Fowler
人人都是产品经理
人人都是产品经理
The Cloudflare Blog
博客园 - 叶小钗
雷峰网
雷峰网
量子位

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
Week 05: Spring is here?
David Heinemeier Hansson · 2023-02-03 · via Ruby on Rails: Compress the complexity of modern web apps

Friday, February 3, 2023
Posted by zzak

Hi, it’s zzak, happy 節分! I’m very excited for spring, this winter has been tough!
Let’s get into this week’s changes in the Rails codebase.

Use infinitive form for all task descriptions verbs
All the common rails commands and some extended commands use the infinitive form for the verb in the description: “Generate …”, “Start …”, “Run …”, instead of “Generates …”, “Starts …”, “Runs …”. This changes the remaining tasks to use the infinitive form for the verb as well, for consistency.

ActiveRecord::QueryLogs: handle invalid encoding
It can sometimes happen that sql is encoded in UTF-8 but contains some invalid binary data of some sort. When this happens strip ends up raising an EncodingError.

Run test:prepare unless exact tests are specified
This PR changes bin/rails test to always run test:prepare unless exact tests are specified via path arguments (e.g. bin/rails test path/to/test.rb) or a name pattern (e.g. bin/rails test -n test_foo).

Deprecate AbstractController::Helpers::MissingHelperError
This error used to be a wrapper for a LoadError raised when require_dependency was used to load helpers for controllers. Since Zeitwerk does not use require_dependency, the only usage of this error was removed.

Deprecate ActionDispatch::IllegalStateError
This error was intended to be a guard to prevent mutating response headers after the response was already sent. However, it didn’t really fulfill this purpose and was removed to make way for Rack 3 support.

A mountain of CLI and help command fixes
Jonathan Hefner contributed a bunch of great patches for the Rails CLI. Including the help text for secrets, encrypted, and credentials commands. Lastly, all base and bare namespaced commands were improved, and “Did you mean?” was added for unrecognized commands!

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

Until next time!

Subscribe to get these updates mailed to you.