We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b51311a commit 9eb52bfCopy full SHA for 9eb52bf
activerecord/CHANGELOG.md
@@ -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
11
* Add support for multiple databases to `db:migrate:reset`.
12
13
*Joé Dupuis*
0 commit comments