Skip to content

Commit fe5965f

Browse files
authored
Add TWIR 23.05.25 (#499)
* Add TWIR 23.05.25 * Format titles
1 parent e224635 commit fe5965f

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
layout: post
3+
title: "Rails World 2025 speaker lineup, deprecations, doc updates and more!"
4+
categories: news
5+
author: Emmanuel Hayford
6+
og_image: assets/images/this-week-in-rails.png
7+
published: true
8+
date: 2025-05-23
9+
---
10+
11+
12+
Hello! [Emmanuel Hayford](https://x.com/siaw23) here.
13+
14+
The third edition of Rails World is a couple of months away! In case you missed it, The Rails Foundation [has already announced an exciting lineup](https://rubyonrails.org/2025/5/20/rails-world-2025-speakers) that you should check out in case you haven't seen it yet.
15+
16+
17+
[Document `through` with `polymorphic`](https://github.com/rails/rails/pull/55107)
18+
A new addition to the Rails documentation clarifies that polymorphic associations are not supported as :through associations. While Active Record already raises an error when such a setup is attempted, the exceptions were previously undocumented. This update makes the restriction explicit in the docs.
19+
20+
21+
[Deprecate `:class_name` for polymorphic `belongs_to`](https://github.com/rails/rails/pull/55091)
22+
Passing `:class_name` to a polymorphic `belongs_to` is now deprecated and will be removed in Rails 8.1. Since the associated class is already determined by the type column, the option is unnecessary. If you're using `:class_name` in this context, you can safely delete it.
23+
24+
25+
[Add namespaced version of the `db:migrate:reset` command.](https://github.com/rails/rails/pull/55077)
26+
Rails now supports a namespaced version of `db:migrate:reset`, allowing you to reset only the primary database using `db:migrate:reset:primary`.
27+
28+
29+
[Respect `SCHEMA_FORMAT` in `db:schema:load`](https://github.com/rails/rails/pull/55059)
30+
A fix has been applied to ensure the `SCHEMA_FORMAT` environment variable behaves as described in the task description. This correction only applies to Rails 7.2 and addresses an oversight from its initial introduction.
31+
32+
_You can view the whole list of changes [here](https://github.com/rails/rails/compare/@%7B2025-05-16%7D...main@%7B2025-05-23%7D)._
33+
_We had [17 contributors](https://contributors.rubyonrails.org/contributors/in-time-window/20250516-20250523) to the Rails codebase this past week!_
34+
35+
Until next time!
36+
37+
_[Subscribe](https://world.hey.com/this.week.in.rails) to get these updates mailed to you._

0 commit comments

Comments
 (0)