<commit_before>## Rails 4.1.0 (unreleased) ##

*   Allow to use databases.rake tasks without having Rails.application *Piotr Sarnacki*

## Rails 4.0.0 (unreleased) ##

*   Fix for a regression bug in which counter cache columns were not being updated
    when record was pushed into a has_many association. For example:

        Post.first.comments << Comment.create

    Fixes #3891.

    *<NAME>*

*   If a model was instantiated from the database using `select`, `respond_to?`
    returns false for non-selected attributes. For example:<commit_msg>Move CHANGELOG entry for db.rake improvements to 4.0.0<commit_after>## Rails 4.0.0 (unreleased) ##

*   Allow to use databases.rake tasks without having Rails.application *Piotr Sarnacki*

*   Fix for a regression bug in which counter cache columns were not being updated
    when record was pushed into a has_many association. For example:

        Post.first.comments << Comment.create

    Fixes #3891.

    *<NAME>*

*   If a model was instantiated from the database using `select`, `respond_to?`
    returns false for non-selected attributes. For example:
{'fraction_non_alphanumeric': 0.0819081908190819, 'fraction_numerical': 0.018001800180018002, 'mean_word_length': 3.5761316872427984, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, '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': '1519300', 'n_tokens_mistral': 341, 'n_tokens_neox': 312, 'n_words': 131}