<commit_before>## 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

    <NAME>

*   Raise ArgumentError instead of generate invalid SQL when empty hash is used in where clause value

    <NAME>

*   Quote numeric values being compared to non-numeric columns. Otherwise,
    in some database, the string column values will be coerced to a numeric
    allowing 0, 0.0 or false to match any string starting with a non-digit.

    Example:<commit_msg>Improve changelog entries in AR<commit_after>## Rails 4.0.0 (unreleased) ##

*   Raise `ArgumentError` instead of generating `column IN (NULL)` SQL when
    empty array is used in where clause value.

    *<NAME>*

*   Raise `ArgumentError` instead of generating invalid SQL when empty hash is
    used in where clause value.

    *<NAME>*

*   Quote numeric values being compared to non-numeric columns. Otherwise,
    in some database, the string column values will be coerced to a numeric
    allowing 0, 0.0 or false to match any string starting with a non-digit.

    Example:
{'fraction_non_alphanumeric': 0.06, 'fraction_numerical': 0.010434782608695653, 'mean_word_length': 3.4099616858237547, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2850925', 'n_tokens_mistral': 331, 'n_tokens_neox': 306, 'n_words': 160}