From 1a6089f30565cc3fd19c02c2331fdd255ff23502 Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Sun, 22 Dec 2013 18:44:42 +0100 Subject: CHANGELOG entry for #13451. [ci skip] --- activerecord/CHANGELOG.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'activerecord') diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 614059a94f..5ceb012aef 100644 --- a/activerecord/CHANGELOG.md +++ b/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 -- cgit v1.2.3