diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2017-09-26 13:22:12 -0600 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2017-09-26 13:23:26 -0600 |
commit | 9cf7e3494f5bd34f1382c1ff4ea3d811a4972ae2 (patch) | |
tree | c1f1a45eb13de1840c29370ac761a8dd93aed63e /activerecord/CHANGELOG.md | |
parent | 7352f8dbd25516f480433b03eb90dd4868b9d785 (diff) | |
download | rails-9cf7e3494f5bd34f1382c1ff4ea3d811a4972ae2.tar.gz rails-9cf7e3494f5bd34f1382c1ff4ea3d811a4972ae2.tar.bz2 rails-9cf7e3494f5bd34f1382c1ff4ea3d811a4972ae2.zip |
Treat `Set` as an `Array` in `Relation#where`
I do not want to set the expectation that any enumerable object should
behave this way, but this case in particular comes up frequently enough
that I'm caving on this one.
Fixes #30684.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index c34236d4be..7cae105ddb 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,8 @@ +* Passing a `Set` to `Relation#where` now behaves the same as passing an + array. + + *Sean Griffin* + * Use given algorithm while removing index from database. Fixes #24190. |