diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2013-12-30 11:40:21 +0100 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2013-12-30 12:15:14 +0100 |
commit | ec4b44b1a4052fea1404cf27c8a30f613426e2d8 (patch) | |
tree | 430e6c946c721ee9e32c6a18c96943d40dac0729 /activerecord | |
parent | 15e2eb42a7b1c251defd088ac65a89f152a307f6 (diff) | |
download | rails-ec4b44b1a4052fea1404cf27c8a30f613426e2d8.tar.gz rails-ec4b44b1a4052fea1404cf27c8a30f613426e2d8.tar.bz2 rails-ec4b44b1a4052fea1404cf27c8a30f613426e2d8.zip |
Add a missing changelog entry for #13534 [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/CHANGELOG.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 6b17d6b265..fd99a6bc59 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -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* |