diff options
author | Bogdan Gusiev <agresso@gmail.com> | 2012-11-21 16:11:14 +0200 |
---|---|---|
committer | Bogdan Gusiev <agresso@gmail.com> | 2012-11-21 16:11:14 +0200 |
commit | fa73cf727521e9eb7911ada4d30ac10406446e7d (patch) | |
tree | 8003c5711c095f7e549d7538ebdf7c42dc0cba20 /activerecord/CHANGELOG.md | |
parent | f058e565c1f7ab36199887a56696edb01d85e2cf (diff) | |
download | rails-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.md | 6 |
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. |