aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorVictor Costan <costan@gmail.com>2012-11-19 22:38:19 -0500
committerVictor Costan <costan@gmail.com>2012-11-20 10:59:40 -0500
commita8a60e92409620f795d04bc720f1dd120d6ec7e2 (patch)
tree197153a76cd2821e8ceaed32c948e02ac9923064 /activerecord/CHANGELOG.md
parentabb38feac84da59f6686d9abcce61d2a9a64efa9 (diff)
downloadrails-a8a60e92409620f795d04bc720f1dd120d6ec7e2.tar.gz
rails-a8a60e92409620f795d04bc720f1dd120d6ec7e2.tar.bz2
rails-a8a60e92409620f795d04bc720f1dd120d6ec7e2.zip
Postgresql doesn't accepts limits on text columns.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 082e3d1089..8e414d09d8 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,5 +1,10 @@
## Rails 4.0.0 (unreleased) ##
+* 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.
+
+ *Victor Costan*
+
* Don't change STI type when calling `ActiveRecord::Base#becomes`.
Add `ActiveRecord::Base#becomes!` with the previous behavior.