aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Neves <arthurnn@gmail.com>2013-09-25 19:19:10 -0400
committerArthur Neves <arthurnn@gmail.com>2013-09-25 19:19:10 -0400
commitdfd3b8096e31ec6bb288dc0041a2d716566649ee (patch)
tree14d7bde184fe219416d243f3ac1a7296bb49c693
parent645af000a4bb0c742063e61d8da01aa5053bc9da (diff)
downloadrails-dfd3b8096e31ec6bb288dc0041a2d716566649ee.tar.gz
rails-dfd3b8096e31ec6bb288dc0041a2d716566649ee.tar.bz2
rails-dfd3b8096e31ec6bb288dc0041a2d716566649ee.zip
changelog entry
-rw-r--r--activerecord/CHANGELOG.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 3ff996d7b6..810a2c668d 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,9 @@
+* Fixed `ActiveRecord::Associations::CollectionAssociation#find`
+ when using `has_many` association with `:inverse_of` and finding an array of one element,
+ it should return an array of one element too.
+
+ *arthurnn*
+
* Callbacks on has_many should access the in memory parent if a inverse_of is set.
*arthurnn*