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

推荐订阅源

博客园 - 叶小钗
D
Docker
Google DeepMind News
Google DeepMind News
Y
Y Combinator Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Blog — PlanetScale
Blog — PlanetScale
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
U
Unit 42
博客园 - 【当耐特】
N
Netflix TechBlog - Medium
V
Visual Studio Blog
Microsoft Azure Blog
Microsoft Azure Blog
博客园_首页
Recent Announcements
Recent Announcements
GbyAI
GbyAI
T
Tailwind CSS Blog
S
SegmentFault 最新的问题
WordPress大学
WordPress大学
T
The Blog of Author Tim Ferriss
Engineering at Meta
Engineering at Meta
L
LangChain Blog
A
About on SuperTechFans
M
MIT News - Artificial intelligence
B
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.