aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-09-30 14:38:58 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-09-30 14:38:58 -0700
commitccd11d58910059f07b28cc518dbdad42cbc8ea0c (patch)
treea8cf48bfaa9e85439854f89e5cb675df63374740 /activerecord/CHANGELOG.md
parent54c05acdba138f3a7a3d44dfc922b0fe4e4cf554 (diff)
parent679860400f1c6c542b33e8c80221cc5aca7b5629 (diff)
downloadrails-ccd11d58910059f07b28cc518dbdad42cbc8ea0c.tar.gz
rails-ccd11d58910059f07b28cc518dbdad42cbc8ea0c.tar.bz2
rails-ccd11d58910059f07b28cc518dbdad42cbc8ea0c.zip
Merge pull request #12413 from arthurnn/inverse_of_on_build
Inverse of on build
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index cf1f20c829..5107e43b55 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,4 +1,10 @@
## unreleased ##
+* Move .set_inverse_instance call to association.build_record method. Everytime a new record is build
+ using the association, we need to try to set the inverse_of relation.
+
+ Fixes #10371.
+
+ *arthurnn*
* When calling the method .find_or_initialize_by_* from a collection_proxy
it should set the inverse_of relation even when the entry was found on the db.