From e677cc1170af7967e6347954d218f81a3d15ab83 Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Tue, 19 Jan 2016 11:44:11 +0530 Subject: Update CHANEGLOG for https://github.com/rails/rails/pull/20005 [ci skip] --- activerecord/CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'activerecord/CHANGELOG.md') diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 81027eab82..81799b65d6 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -6,7 +6,11 @@ *Yves Senn* -* Add expression support on the schema default. +* Don't try to quote functions or expressions passed to `:default` option if + they are passed as procs. + + This will generate proper query with the passed function or expression for + the default option, instead of trying to quote it in incorrect fashion. Example: -- cgit v1.2.3