aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2015-06-11 16:48:23 -0600
committerSean Griffin <sean@thoughtbot.com>2015-06-11 16:50:25 -0600
commit5b35562d8e8f7270c75e83645498dd92a0968072 (patch)
tree4070f6f997d38dc3002e2190ae40661880dd8963 /activerecord/CHANGELOG.md
parent21f7bcbaa7709ed072bb2e1273d25c09eeaa26d9 (diff)
downloadrails-5b35562d8e8f7270c75e83645498dd92a0968072.tar.gz
rails-5b35562d8e8f7270c75e83645498dd92a0968072.tar.bz2
rails-5b35562d8e8f7270c75e83645498dd92a0968072.zip
Correctly handle array columns with defaults in the schema dumper
If the subtype provides custom schema dumping behavior, we need to defer to it. We purposely choose not to handle any values other than an array (which technically should only ever be `nil`, but I'd rather code defensively here). Fixes #20515.
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 02b2096ef6..34e760e527 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,9 @@
+* Correctly handle decimal arrays with defaults in the schema dumper.
+
+ Fixes #20515.
+
+ *Sean Griffin*
+
* Deprecate the PG `:point` type in favor of a new one which will return
`Point` objects instead of an `Array`