Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #13538 from robin850/patch-14
Browse files Browse the repository at this point in the history
Add a missing changelog entry for #13534 [ci skip]
  • Loading branch information
senny committed Dec 30, 2013
2 parents 3d865c1 + ec4b44b commit d2aa332
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions 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*
Expand Down

0 comments on commit d2aa332

Please sign in to comment.