1
0
Fork 0
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:
Yves Senn 2013-12-30 03:16:02 -08:00
commit d2aa3324a9

View file

@ -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.
*José Valim*