aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-09-28 17:12:13 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-09-28 17:12:13 -0700
commit8771a565d3d5185bb0b73d93a24bf6d2a22bd718 (patch)
tree348361d803318e487e15523f3b90f2098336fb8a /activerecord/CHANGELOG.md
parentc2ee6a079e36f2cd4e9857605385526fad93abf3 (diff)
parent8fb0de2cae8e6f26c71ab8e4267d3841a38a29b9 (diff)
downloadrails-8771a565d3d5185bb0b73d93a24bf6d2a22bd718.tar.gz
rails-8771a565d3d5185bb0b73d93a24bf6d2a22bd718.tar.bz2
rails-8771a565d3d5185bb0b73d93a24bf6d2a22bd718.zip
Merge pull request #11496 from jetthoughts/11376_has_many_assoc_respect_scope_on_build
Removed where_values_hash from AR::NullRelation
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 810a2c668d..9cf619f4c2 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,10 @@
+* Objects intiantiated using a null relationship will now retain the
+ attributes of the where clause.
+
+ Fixes: #11676, #11675, #11376
+
+ *Paul Nikitochkin*, *Peter Brown*, *Nthalk*
+
* 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.