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:
parent
5dc5560090
commit
69e0e3f91b
1 changed files with 14 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue