aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2015-02-26 12:40:22 -0700
committerSean Griffin <sean@thoughtbot.com>2015-02-26 12:42:55 -0700
commit38218929e9b3205a2a731660b3c5527937e1c015 (patch)
treed5fe509a1750905969eb7f4bfb47a180ac048fd4 /activerecord/CHANGELOG.md
parentf069b413216f207056b4e46ba302afc646201c1e (diff)
downloadrails-38218929e9b3205a2a731660b3c5527937e1c015.tar.gz
rails-38218929e9b3205a2a731660b3c5527937e1c015.tar.bz2
rails-38218929e9b3205a2a731660b3c5527937e1c015.zip
Properly create through records when called with `where`
Various behaviors needed by associations (such as creating the through record) are lost when `where` is called, since we stop having a `CollectionProxy` and start having an `AssociationRelation` which does not contain this behavior. I *think* we should be able to rm `AssociationRelation`, but we have tests saying the changes required to do that would be bad (Without saying why. Of course. >_>) Fixes #19073.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index b66db6a754..8d76b4145b 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,10 @@
+* Correctly create through records when created on a has many through
+ association when using `where`.
+
+ Fixes #19073.
+
+ *Sean Griffin*
+
* Add `SchemaMigration.create_table` support any unicode charsets for MySQL.
*Ryuta Kamizono*