CHANGELOG.md 961 字节
Newer Older
1 2 3 4 5
*   Ensure hashes can be assigned to attributes created using `composed_of`.
    Fixes #25210.

    *Sean Griffin*

6 7
*   Fix logging edge case where if an attribute was of the binary type and
    was provided as a Hash.
R
Rafael Mendonça França 已提交
8

9 10
    *Jon Moss*

11 12 13 14
*   Handle JSON deserialization correctly if the column default from database
    adapter returns `''` instead of `nil`.

    *Johannes Opper*
15

16 17 18 19 20
*   Introduce ActiveRecord::TransactionSerializationError for catching
    transaction serialization failures or deadlocks.

    *Erol Fornoles*

21 22 23 24 25 26 27 28 29 30 31 32 33 34
*   PostgreSQL: Fix db:structure:load silent failure on SQL error

    The command line flag "-v ON_ERROR_STOP=1" should be used
    when invoking psql to make sure errors are not suppressed.

    Example:

        psql -v ON_ERROR_STOP=1 -q -f awesome-file.sql my-app-db

    Fixes #23818.

    *Ralin Chimev*


35
Please check [5-0-stable](https://github.com/rails/rails/blob/5-0-stable/activerecord/CHANGELOG.md) for previous changes.