Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add a missing changelog entry for #13534 [ci skip]

  • Loading branch information...
commit ec4b44b1a4052fea1404cf27c8a30f613426e2d8 1 parent 15e2eb4
@robin850 robin850 authored
Showing with 12 additions and 0 deletions.
  1. +12 −0 activerecord/CHANGELOG.md
View
12 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*
Please sign in to comment.
Something went wrong with that request. Please try again.