mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #13538 from robin850/patch-14
Add a missing changelog entry for #13534 [ci skip]
This commit is contained in:
commit
d2aa3324a9
1 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,15 @@
|
||||||
|
* An `ArgumentError` is now raised on a call to `Relation#where.not(nil)`.
|
||||||
|
|
||||||
|
User.where.not(nil)
|
||||||
|
|
||||||
|
# Before
|
||||||
|
# => 'SELECT `users`.* FROM `users` WHERE (NOT (NULL))'
|
||||||
|
|
||||||
|
# After
|
||||||
|
# => ArgumentError, 'Invalid argument for .where.not(), got nil.'
|
||||||
|
|
||||||
|
*Kuldeep Aggarwal*
|
||||||
|
|
||||||
* Deprecated use of string argument as a configuration lookup in `ActiveRecord::Base.establish_connection`. Instead, a symbol must be given.
|
* Deprecated use of string argument as a configuration lookup in `ActiveRecord::Base.establish_connection`. Instead, a symbol must be given.
|
||||||
|
|
||||||
*José Valim*
|
*José Valim*
|
||||||
|
|
Loading…
Reference in a new issue