Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Improve changelog entries in AR

Describe better the changes related to raising errors with empty
array/hash values in where clauses.

[ci skip]
  • Loading branch information...
commit 01e67316d8c802df3928b53d0e0ce9153044f5ad 1 parent 85e1c4a
@carlosantoniodasilva carlosantoniodasilva authored
Showing with 6 additions and 5 deletions.
  1. +6 −5 activerecord/CHANGELOG.md
View
11 activerecord/CHANGELOG.md
@@ -1,13 +1,14 @@
## Rails 4.0.0 (unreleased) ##
-* Change behaviour with empty array in where clause,
- the SQL generated when when were passed an empty array was insecure in some cases
+* Raise `ArgumentError` instead of generating `column IN (NULL)` SQL when
+ empty array is used in where clause value.
- Roberto Miranda
+ *Roberto Miranda*
-* Raise ArgumentError instead of generate invalid SQL when empty hash is used in where clause value
+* Raise `ArgumentError` instead of generating invalid SQL when empty hash is
+ used in where clause value.
- Roberto Miranda
+ *Roberto Miranda*
* Quote numeric values being compared to non-numeric columns. Otherwise,
in some database, the string column values will be coerced to a numeric
Please sign in to comment.
Something went wrong with that request. Please try again.