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

推荐订阅源

月光博客
月光博客
雷峰网
雷峰网
S
SegmentFault 最新的问题
博客园 - 【当耐特】
博客园_首页
量子位
爱范儿
爱范儿
博客园 - 叶小钗
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Jina AI
Jina AI
V
V2EX
美团技术团队
V
Visual Studio Blog
博客园 - 三生石上(FineUI控件)
IT之家
IT之家
Hugging Face - Blog
Hugging Face - Blog
Apple Machine Learning Research
Apple Machine Learning Research
小众软件
小众软件
博客园 - 聂微东
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
The Cloudflare Blog
宝玉的分享
宝玉的分享
WordPress大学
WordPress大学
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

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
Start of Rails 8 development, 7.0.8.2 & 7.1.3.3 released,...
David Heinemeier Hansson · 2024-05-17 · via Ruby on Rails: Compress the complexity of modern web apps

Hey everyone, Happy Friday!

Vipul here with the latest updates for This Week in Rails. Let’s dive in.

Development of Rails 8.0 starts now 🎉
This week marks the official start of Rails 8.0 development. Stay tuned for more updates on Rails 8.0 features and changes ahead 🎉.

Rails 8 will target Ruby 3.3+ only for new apps

Add Kamal by default to Rails 8
This PR adds Kamal for deployment by default, which includes generating a Rails-specific config/deploy.yml. This can be skipped using --skip-kamal. Check out more about Kamal on its official site.

Add support for :if_not_exists and :force options to create_schema
This change adds missing support for :if_not_exists and :force options to create_schema.

7.0.8.2 and 7.1.3.3 have been released
Two new Rails version have been released upgrading Trix to 2.1.1 to fix CVE-2024-34341

Check here for more details - XSS Vulnerabilities in Trix Editor

Fix ActiveRecord::Relation#touch_all with custom attribute aliased as attribute for update
Before this change if we had something like

create_table :users do |t|
  t.timestamp :legacy_updated_at
end

class User < ActiveRecord::Base
  alias_attribute :updated_at, :legacy_updated_at
end

User.touch_all(:updated_at)

then ActiveRecord would not resolve updated_at to its alias correctly and resulted to a query that updates the same column twice. This PR fixes the behavior to correctly resolve the alias.

Support duration in ActiveSupport::XmlMini
Before this change ActiveSupport::XmlMini could not handle duration type in XML, which is one of the primitive data type. This PR adds support for duration type using ActiveSupport::Duration.

Support touch_all in batches
This change adds support for touch_all in batches. This is similarly supported for update_all/delete_all/etc)

  Post.in_batches.touch_all

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

Until next time!

Subscribe to get these updates mailed to you.