Skip to content

Prevent redundant Active Record scopes

Heinrich Lee Yu requested to merge 414556-fix-projects-api-deprecation into master

What does this MR do and why?

These params are already handled by the ProjectsFinder so we do not need to add these redundant scopes.

These are throwing deprecation messages because in Rails 7, calling merge on the same conditions for a column overwrites the previous condition.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #414556 (closed)

Edited by Heinrich Lee Yu

Merge request reports