diff options
-rw-r--r-- | activerecord/CHANGELOG.md | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index c0bef5fb46..69394c9f64 100644 --- a/activerecord/CHANGELOG.md +++ b/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 |