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

推荐订阅源

D
Docker
阮一峰的网络日志
阮一峰的网络日志
T
Tailwind CSS Blog
博客园 - 【当耐特】
量子位
博客园 - 叶小钗
有赞技术团队
有赞技术团队
Jina AI
Jina AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - Franky
博客园 - 司徒正美
爱范儿
爱范儿
美团技术团队
小众软件
小众软件
酷 壳 – CoolShell
酷 壳 – CoolShell
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
V
V2EX
罗磊的独立博客
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Last Week in AI
Last Week in AI
Hugging Face - Blog
Hugging Face - Blog
I
InfoQ
D
DataBreaches.Net
宝玉的分享
宝玉的分享

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
Rails World CFP, ActiveRecord::Base.with_connection, devc...
David Heinemeier Hansson · 2024-02-16 · via Ruby on Rails: Compress the complexity of modern web apps

Friday, February 16, 2024
Posted by vipulnsward

Hi! Vipul here with the latest updates for This Week in Rails!

Rails World CFP
Call for Papers is now open for The Rails World 2024 conference that will be held in Toronto, Canada this year. The CFP will remain open until 21st March. Head over here to submit your proposal!

Generate devcontainer files by default
This change generates a .devcontainer folder and its contents when creating a new app. The .devcontainer folder includes everything needed to boot the app and do development in a remote container. These files can be skipped using the --skip-devcontainer option.

Add ActiveRecord::Base.with_connection as a shortcut for leasing a connection for a short duration
This change adds ActiveRecord::Base.with_connection as a shortcut for leasing a connection for a short duration. The leased connection is yielded, and for the duration of the block, any call to ActiveRecord::Base.connection will yield that same connection. This is useful to perform a few database operations without causing a connection to be leased for the entire duration of the request or job.

Support encrypting binary columns
Previously encrypting binary columns with the ActiveRecord::Encryption::MessageSerializer incidentally worked for MySQL and SQLite, but not PostgreSQL. This change adds proper support now for encrypting binary columns types.

Suggest puma-dev configuration in bin/setup
Rails now suggest puma-dev as the golden path for developing multiple Rails applications locally, if you’re not using Docker. bin/setup has now been updated to suggest how to get that setup.

Add .test to default allowed host in development mode
Continuing on support for puma-dev this change adds “.test” as a default allowed host in development to ensure a smooth setup.

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

Until next time!

Subscribe to get these updates mailed to you.