Fix deprecation warning about rewhere: true being default behavior (Rails 7.1 prep) (#27190)

This commit is contained in:
Matt Jankowski 2023-09-28 10:52:23 -04:00 committed by GitHub
parent 99e289f03f
commit 2016c5d912
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ class ReportFilter
scope = Report.unresolved
params.each do |key, value|
scope = scope.merge scope_for(key, value), rewhere: true
scope = scope.merge scope_for(key, value)
end
scope