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

推荐订阅源

量子位
D
Docker
月光博客
月光博客
MongoDB | Blog
MongoDB | Blog
Vercel News
Vercel News
美团技术团队
博客园 - 叶小钗
I
InfoQ
Jina AI
Jina AI
博客园 - 司徒正美
雷峰网
雷峰网
B
Blog
Y
Y Combinator Blog
A
About on SuperTechFans
WordPress大学
WordPress大学
酷 壳 – CoolShell
酷 壳 – CoolShell
大猫的无限游戏
大猫的无限游戏
Microsoft Security Blog
Microsoft Security Blog
Stack Overflow Blog
Stack Overflow Blog
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Recent Announcements
Recent Announcements
V
V2EX
N
Netflix TechBlog - Medium

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 - June 16, 2023
David Heinemeier Hansson · 2023-06-16 · via Ruby on Rails: Compress the complexity of modern web apps

Friday, June 16, 2023
Posted by zzak

Hi, it’s zzak. We’re officially half-way through June, and we’ve got a shorter edition this week but let’s hop in.

Enable force_ssl=true in production by default
This PR affects newly generated apps to make SSL enforcement the default behavior in production mode, ensuring all access to the application occurs over SSL, with Strict-Transport-Security and use secure cookies.

Adding PG enum drop, rename, add value, rename value
Initially opened over a year ago, this PR has finally been merged and adds rename_enum, rename_enum_value, and add_enum_value support to the PostgreSQL adapter.

Fix setting inverses for composite primary key associations
This bug fix for models using the inverse_of option which caused the related record not to be saved when using composite primary keys.

Fix “destroy_all” for “has_many through:” associations that points to a CPK model
Another bug fix for composite primary keys was affecting destroy_all when using the has_many through: association that points to a model with composite primary key.

Store “secret_key_base” in “Rails.config” for local environments.
Since secrets have been deprecated in favor of credentials, this PR removes the last dependency for local environments by using Rails.config.secret_key_base instead of Rails.application.secrets.secret_key_base.

Deprecate calling “Rails.application.secrets”
With the last PR merged a deprecation warning will now show up when you call Rails.application.secrets, instead you should use Rails.application.credentials.

Use cache “:coder” option to specify “:message_pack”
This PR removes the unreleased :message_pack option from config.active_support.cache_format_version and instead provides a new :coder option to the config.cache_store flag.

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

Until next time!

Subscribe to get these updates mailed to you.