Skip to content

Fix scoped relation inheritance deprecation [RUN ALL RSPEC] [RUN AS-IF-FOSS]

Igor Drozdov requested to merge id-fix-default-scoped-warnings into master

What does this MR do?

Class level methods no longer inherit scoping in Rails 6.1

Let's fix the warnings now to have the correct behavior when we migrate to 6.1.

Related issue: #328517 (closed)

PR with a fix: https://github.com/rails/rails/pull/35186

Edited by Igor Drozdov

Merge request reports