diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2016-01-20 00:01:21 -0500 |
---|---|---|
committer | Rafael França <rafaelmfranca@gmail.com> | 2016-01-20 00:01:21 -0500 |
commit | 8f208e0f90cafda767005bc1fce63709414e84dd (patch) | |
tree | b2f1d69f6a12c28f5a74cdc72c644e9d33b3894e /activerecord/CHANGELOG.md | |
parent | fe55163f111bb20309f20c4d18959bd6aacb41af (diff) | |
parent | e677cc1170af7967e6347954d218f81a3d15ab83 (diff) | |
download | rails-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]
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 6 |
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: |