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

推荐订阅源

GbyAI
GbyAI
人人都是产品经理
人人都是产品经理
Hugging Face - Blog
Hugging Face - Blog
罗磊的独立博客
博客园 - 【当耐特】
D
Docker
Y
Y Combinator Blog
L
LangChain Blog
博客园 - 三生石上(FineUI控件)
I
InfoQ
阮一峰的网络日志
阮一峰的网络日志
F
Fortinet All Blogs
J
Java Code Geeks
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
V2EX
B
Blog
The GitHub Blog
The GitHub Blog
腾讯CDC
MongoDB | Blog
MongoDB | Blog
博客园 - Franky
爱范儿
爱范儿
A
About on SuperTechFans
量子位
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC

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
More intuitive checking of form check boxes and radio but...
David Heinemeier Hansson · 2022-10-28 · via Ruby on Rails: Compress the complexity of modern web apps

Hi, Wojtek here with this week’s news from the Rails world.

Support checked as a keyword argument in check_box_tag and radio_button_tag
Now the form helper

f.check_box "admin", checked: false

works as expected. Previously it had to be passed as positional argument.

Allow Active Record adapter “execute” to retry on connection-related exception

Setting allow_retry to true causes the database to reconnect and retry executing the SQL statement in case of a connection-related exception. Should only be used for known idempotent queries.

Expose the “request.parameter_filter”
Feature is useful when one wants to filter some hashes based on the same parameter filter as the request:

request.parameter_filter.filter("secret" => "foo", "something" => "bar"))
#=> { "secret" => "[FILTERED]", "something" => "bar" }

Adds “validate” to foreign keys and check constraints in database schema file
Previously, schema.rb would not record if validate: false had been used when adding a foreign key or check
constraint, so restoring a database from the schema could result in foreign keys or check constraints being
incorrectly validated.

Fix “MemoryStore” to preserve entries TTL when incrementing or decrementing
The change is to be consistent with how MemCachedStore and RedisCacheStore behaves, ie don’t remove the expiration value.

There were 23 contributors to Rails this week. You can browse all the changes here.
Until next time.

Subscribe to get these updates mailed to you.