Permalink
Browse files

CHANGELOG entry for #13451. [ci skip]

  • Loading branch information...
1 parent c0a6ffb commit 1a6089f30565cc3fd19c02c2331fdd255ff23502 @senny senny committed Dec 22, 2013
Showing with 13 additions and 0 deletions.
  1. +13 −0 activerecord/CHANGELOG.md
@@ -1,3 +1,16 @@
+* Fix a bug when assigning an array containing string numbers to a
+ PostgreSQL integer array column.
+
+ Fixes #13444.
+
+ Example:
+
+ # Given Book#ratings is of type :integer, array: true
+ Book.new(ratings: [1, 2]) # worked before
+ Book.new(ratings: ['1', '2']) # now works as well
+
+ *Damien Mathieu*
+
* Improve the default select when `from` is used.
Previously, if you did something like Topic.from(:temp_topics), it

0 comments on commit 1a6089f

Please sign in to comment.