Permalink
Browse files

CHANGELOG entry for #13451. [ci skip]

Conflicts:

	activerecord/CHANGELOG.md
  • Loading branch information...
senny committed Dec 22, 2013
1 parent 44051e2 commit fb78c1e0a7daa22e90ae8c1667303eb223449d3c
Showing with 13 additions and 0 deletions.
  1. +13 −0 activerecord/CHANGELOG.md
View
@@ -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*
+
* `db:test:clone` and `db:test:prepare` must load Rails environment.
`db:test:clone` and `db:test:prepare` use `ActiveRecord::Base`. configurations,

0 comments on commit fb78c1e

Please sign in to comment.