-
Andrew Atkinson authored
This guide addition documents how to configure your Rails application to use the data type "timestamp with time zone" (timezone-aware timestamp), instead of the default type, "timestamp without time zone" Support for this data type was added earlier in Active Record, but requires a configuration change in order to use, and from these PR comments, where, why, and how to perform this configuration change wasn't added to the Rails Guides Active Record PostgreSQL documentation from what I could tell Related PR: https://github.com/rails/rails/pull/41084 Guide page: https://guides.rubyonrails.org/active_record_postgresql.html PostgreSQL best practices: https://wiki.postgresql.org/wiki/Don't_Do_This#Don.27t_use_timestamp_.28without_time_zone.29
Andrew Atkinson authoredThis guide addition documents how to configure your Rails application to use the data type "timestamp with time zone" (timezone-aware timestamp), instead of the default type, "timestamp without time zone" Support for this data type was added earlier in Active Record, but requires a configuration change in order to use, and from these PR comments, where, why, and how to perform this configuration change wasn't added to the Rails Guides Active Record PostgreSQL documentation from what I could tell Related PR: https://github.com/rails/rails/pull/41084 Guide page: https://guides.rubyonrails.org/active_record_postgresql.html PostgreSQL best practices: https://wiki.postgresql.org/wiki/Don't_Do_This#Don.27t_use_timestamp_.28without_time_zone.29
Loading