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

推荐订阅源

freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
P
Proofpoint News Feed
宝玉的分享
宝玉的分享
人人都是产品经理
人人都是产品经理
博客园_首页
爱范儿
爱范儿
博客园 - 叶小钗
aimingoo的专栏
aimingoo的专栏
S
SegmentFault 最新的问题
MyScale Blog
MyScale Blog
阮一峰的网络日志
阮一峰的网络日志
IT之家
IT之家
Microsoft Security Blog
Microsoft Security Blog
Blog — PlanetScale
Blog — PlanetScale
博客园 - 【当耐特】
Y
Y Combinator Blog
量子位
博客园 - 三生石上(FineUI控件)
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
The Blog of Author Tim Ferriss
月光博客
月光博客
有赞技术团队
有赞技术团队
Apple Machine Learning Research
Apple Machine Learning Research
A
About on SuperTechFans

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
This Week in Rails: preloading associations with composit...
David Heinemeier Hansson · 2023-02-17 · via Ruby on Rails: Compress the complexity of modern web apps

Friday, February 17, 2023
Posted by gregmolnar

Hi, this is Greg, bringing you this week’s changes in the Rails codebase.

Support preloading associations with composite keys
This pull request adds support for Associations::Preloader to be able to preload associations associated by a composite foreign key (query_constraints) and by implication adds support for includes() relations.

SchemaCache#init_with skip deduplicate if specified
This is a very advanced API for people who use a custom Schema Cache serializer, and since the custom serializer might already deduplicate data, in which case going through deduplication again would be very wasteful.

Rename Dockerfile user to “rails”
While a tiny detail, this change lets anyone know who is using this container that they are in a “rails” image, as opposed to a generic “appuser” which may conflict with other images.

Add rake task to vendor guide javascript
The Rails guides were migrated from Turbolinks to Turbo, and this commit adds a rake task to automate the process of grabbing the turbo js file using Importmap::Packager, which is what importmap-rails uses for bin/importmap pin --download.

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.