aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2016-01-20 00:01:21 -0500
committerRafael França <rafaelmfranca@gmail.com>2016-01-20 00:01:21 -0500
commit8f208e0f90cafda767005bc1fce63709414e84dd (patch)
treeb2f1d69f6a12c28f5a74cdc72c644e9d33b3894e
parentfe55163f111bb20309f20c4d18959bd6aacb41af (diff)
parente677cc1170af7967e6347954d218f81a3d15ab83 (diff)
downloadrails-8f208e0f90cafda767005bc1fce63709414e84dd.tar.gz
rails-8f208e0f90cafda767005bc1fce63709414e84dd.tar.bz2
rails-8f208e0f90cafda767005bc1fce63709414e84dd.zip
Merge pull request #23111 from prathamesh-sonpatki/fix-changelog
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: