Skip to content

Commit 9eb52bf

Browse files
committed
Register a4a1996 in the CHANGELOG
References rails#55089.
1 parent b51311a commit 9eb52bf

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

activerecord/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
* `:class_name` is now invalid in polymorphic `belongs_to` associations.
2+
3+
Reason is `:class_name` does not make sense in those associations because
4+
the class name of target records is dynamic and stored in the type column.
5+
6+
Existing polymorphic associations setting this option can just delete it.
7+
While it did not raise, it had no effect anyway.
8+
9+
*Xavier Noria*
10+
111
* Add support for multiple databases to `db:migrate:reset`.
212

313
*Joé Dupuis*

0 commit comments

Comments
 (0)