aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorTadas Tamosauskas <tadas@pdfcv.com>2013-09-28 16:10:59 +0100
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-12-23 16:27:54 -0200
commit73bba4c1e1f7fa23aa1a126971338d94ae42398f (patch)
tree27ac306d20b5f6216e838314025f7218633dfdea /activerecord/CHANGELOG.md
parent56510091fb8d178ec7c2391bed9fbdb9e3a54287 (diff)
downloadrails-73bba4c1e1f7fa23aa1a126971338d94ae42398f.tar.gz
rails-73bba4c1e1f7fa23aa1a126971338d94ae42398f.tar.bz2
rails-73bba4c1e1f7fa23aa1a126971338d94ae42398f.zip
Serialize postgres' hstore, json and array types correctly in AR update methods.
Fixes #12261. Closes #12395. Conflicts: activerecord/CHANGELOG.md activerecord/test/cases/adapters/postgresql/array_test.rb activerecord/test/cases/adapters/postgresql/json_test.rb
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 45dfeddba8..3521e3a9ab 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,10 @@
+* Fixed `update_column`, `update_columns`, and `update_all` to correctly serialize
+ values for `array`, `hstore` and `json` column types in `PostgreSQL`.
+
+ Fixes #12261.
+
+ *Tadas Tamosauskas*
+
* Do not consider PostgreSQL array columns as number or text columns.
The code uses these checks in several places to know what to do with a