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

推荐订阅源

博客园 - Franky
有赞技术团队
有赞技术团队
宝玉的分享
宝玉的分享
雷峰网
雷峰网
Hugging Face - Blog
Hugging Face - Blog
V
V2EX
大猫的无限游戏
大猫的无限游戏
博客园 - 司徒正美
D
Docker
T
The Blog of Author Tim Ferriss
罗磊的独立博客
博客园 - 叶小钗
酷 壳 – CoolShell
酷 壳 – CoolShell
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
J
Java Code Geeks
Jina AI
Jina AI
博客园 - 【当耐特】
C
Check Point Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
腾讯CDC
Last Week in AI
Last Week in AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Visual Studio 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
ActionText store_if_blank, SQLite non-GVL-blocking busy h...
David Heinemeier Hansson · 2024-08-25 · via Ruby on Rails: Compress the complexity of modern web apps

Sunday, August 25, 2024
Posted by zzak

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

In case you missed it, Rails 7.2.1 and 7.1.4 were released this week!

Allow use of alternative database interfaces
Prior to this PR, rails dbconsole was hardcoded to use the default interface for the given database. This command can now be configured via the config.active_record.database_cli option.

Encryption casting with “encrypts” before “serialize”
This PR ensures encrypted binary data is properly handled in PostgreSQL.

Add “store_if_blank” option to “has_rich_text”
A new option was added to ActionText to allow configuring whether or not to store empty rich text fields. This PR introduces a store_if_blank option on has_rich_text. It defaults to true (the current behaviour); if you pass false, ActionText won’t create ActionText::RichText records when saving with a blank value.

SQLite non-GVL-blocking, fair retry interval busy handler
This PR improves SQLite connection handling for timeouts, by avoiding Ruby’s Global Variable Lock (GVL) it can reduce SQLite3::BusyException errors and latency.

Support dumping PostgreSQL inheritance & partitioning options
With this change, we can support PostgreSQL native partitioning and inheritance options in create_table.

Infer default “:inverse_of” option for DelegatedType
When using delegated types, we can now infer the :inverse_of option for the association.

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

Until next time!

Subscribe to get these updates mailed to you.