1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

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 scope = Report.unresolved
params.each do |key, value| params.each do |key, value|
scope = scope.merge scope_for(key, value), rewhere: true scope = scope.merge scope_for(key, value)
end end
scope scope