1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Improve the CHANGELOG entry for #6971

This commit is contained in:
Rafael Mendonça França 2012-09-19 12:09:03 -03:00
parent 5dc5560090
commit 69e0e3f91b

View file

@ -1,6 +1,19 @@
## Rails 4.0.0 (unreleased) ##
* Fix querying with an empty hash *Damien Mathieu*
* Fix the return of querying with an empty hash.
Fix #6971.
User.where(token: {})
Before:
#=> SELECT * FROM users;
After:
#=> SELECT * FROM users WHERE 1 = 2;
*Damien Mathieu*
* Fix creation of through association models when using `collection=[]`
on a `has_many :through` association from an unsaved model.