From d080e8c201b7200f7f851c7d837cd658968c5255 Mon Sep 17 00:00:00 2001 From: Jefferson Lai Date: Thu, 24 Apr 2014 04:20:30 -0700 Subject: PostgreSQL Timestamps always map to `:datetime`. The PG Adapter should use `:datetime` consistently instead of mapping mispellings to `:timestamp`. See #14513 --- activerecord/CHANGELOG.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'activerecord/CHANGELOG.md') diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index da07633b03..a4c6e5f499 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,17 @@ +* PostgreSQL should internally use `:datetime` consistently for TimeStamp. Assures + different spellings of timestamps are treated the same. + + Example: + + mytimestamp.simplified_type('timestamp without time zone') + # => :datetime + mytimestamp.simplified_type('timestamp(6) without time zone') + # => also :datetime (previously would be :timestamp) + + See #14513. + + *Jefferson Lai* + * `ActiveRecord::Base.no_touching` no longer triggers callbacks or start empty transactions. Fixes #14841. -- cgit v1.2.3