aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Habermann <jan@habermann24.com>2014-04-03 02:25:16 +0200
committerJan Habermann <jan@habermann24.com>2014-04-03 02:25:16 +0200
commita3d41cb071ae0fc567c3e3ab7afea9356789cbcf (patch)
tree805d5706a3a2ec93c39f83eedb99d58cbcc866a6
parent98e69078d5e2fe9a13bd912bbb5da00be4d43497 (diff)
downloadrails-a3d41cb071ae0fc567c3e3ab7afea9356789cbcf.tar.gz
rails-a3d41cb071ae0fc567c3e3ab7afea9356789cbcf.tar.bz2
rails-a3d41cb071ae0fc567c3e3ab7afea9356789cbcf.zip
Add a CHANGELOG entry for the has_many :through scoping fix (See #14537 for details).
-rw-r--r--activerecord/CHANGELOG.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 18ec203fa3..3fc6e9e158 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,12 @@
+* Fixed unexpected behavior for `has_many :through` associations going through a scoped `has_many`.
+
+ If a `has_many` association is adjusted using a scope, and another `has_many :through`
+ uses this association, then the scope adjustment is unexpectedly neglected.
+
+ Fixes #14537.
+
+ *Jan Habermann*
+
* Fixed error when specifying a non-empty default value on a PostgreSQL array column.
Fixes #10613.