aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2016-01-19 11:44:11 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2016-01-20 08:39:57 +0530
commite677cc1170af7967e6347954d218f81a3d15ab83 (patch)
treeb2f1d69f6a12c28f5a74cdc72c644e9d33b3894e
parentfe55163f111bb20309f20c4d18959bd6aacb41af (diff)
downloadrails-e677cc1170af7967e6347954d218f81a3d15ab83.tar.gz
rails-e677cc1170af7967e6347954d218f81a3d15ab83.tar.bz2
rails-e677cc1170af7967e6347954d218f81a3d15ab83.zip
Update CHANEGLOG for https://github.com/rails/rails/pull/20005 [ci skip]
-rw-r--r--activerecord/CHANGELOG.md6
1 files changed, 5 insertions, 1 deletions
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: