Skip to content

Fix caching of trending projects

yorickpeterse-staging requested to merge fix-caching-trending-projects into master

What does this MR do?

This fixes the caching of trending projects.

Why was this MR needed?

An ActiveRecord::Relation was being cached instead of an Array of rows.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/23097#note_16654556

Merge request reports