CHANGELOG.md 1.7 KB
Newer Older
1 2 3 4
*   Allow specifying fixtures to be ignored by setting `ignore` in YAML file's '_fixture' section.

    *Tongfei Gao*

5 6 7 8
*   Make the DATABASE_URL env variable only affect the primary connection. Add new env variables for multiple databases.

    *John Crepezzi*, *Eileen Uchitelle*

9 10 11 12 13 14 15 16
*   Add a warning for enum elements with 'not_' prefix.

        class Foo
          enum status: [:sent, :not_sent]
        end

    *Edu Depetris*

17 18 19 20
*   Make currency symbols optional for money column type in PostgreSQL

    *Joel Schneider*

21 22 23 24
*   Add support for beginless ranges, introduced in Ruby 2.7.

    *Josh Goodall*

25 26
*   Add database_exists? method to connection adapters to check if a database exists.

R
Roberto Miranda 已提交
27
    *Guilherme Mansur*
28

29 30 31 32
*   Loading the schema for a model that has no `table_name` raises a `TableNotSpecified` error.

    *Guilherme Mansur*, *Eugene Kenny*

33 34 35 36 37 38
*   PostgreSQL: Fix GROUP BY with ORDER BY virtual count attribute.

    Fixes #36022.

    *Ryuta Kamizono*

39 40 41 42 43 44
*   Make ActiveRecord `ConnectionPool.connections` method thread-safe.

    Fixes #36465.

    *Jeff Doering*

45 46 47 48
*   Add support for multiple databases to `rails db:abort_if_pending_migrations`.

    *Mark Lee*

49 50 51 52
*   Fix sqlite3 collation parsing when using decimal columns.

    *Martin R. Schuster*

53
*   Fix invalid schema when primary key column has a comment.
54

55
    Fixes #29966.
56 57 58

    *Guilherme Goettems Schneider*

59
*   Fix table comment also being applied to the primary key column.
60 61 62

    *Guilherme Goettems Schneider*

63
*   Allow generated `create_table` migrations to include or skip timestamps.
64

65 66
    *Michael Duchemin*

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