aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorBogdan Gusiev <agresso@gmail.com>2012-11-21 16:11:14 +0200
committerBogdan Gusiev <agresso@gmail.com>2012-11-21 16:11:14 +0200
commitfa73cf727521e9eb7911ada4d30ac10406446e7d (patch)
tree8003c5711c095f7e549d7538ebdf7c42dc0cba20 /activerecord/CHANGELOG.md
parentf058e565c1f7ab36199887a56696edb01d85e2cf (diff)
downloadrails-fa73cf727521e9eb7911ada4d30ac10406446e7d.tar.gz
rails-fa73cf727521e9eb7911ada4d30ac10406446e7d.tar.bz2
rails-fa73cf727521e9eb7911ada4d30ac10406446e7d.zip
Fix postgresql adapter to handle bc timestamps correctly
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 8e414d09d8..f166d73801 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,5 +1,11 @@
## Rails 4.0.0 (unreleased) ##
+* Fix postgresql adapter to handle BC timestamps correctly
+
+ HistoryEvent.create!(:name => "something", :occured_at => Date.new(0) - 5.years)
+
+ *Bogdan Gusiev*
+
* When running migrations on Postgresql, the `:limit` option for `binary` and `text` columns is silently dropped.
Previously, these migrations caused sql exceptions, because Postgresql doesn't support limits on these types.