Avoid an N+1 loop in GroupPackagesFinder
Replace `.select` with a proper ActiveRecord scope. This way, #group_projects_visible_to_current_user are lazily loaded instead of being all loaded in memory
Showing
Please register or sign in to comment