Skip to content

Rails5 fix AttachmentRegistryFinder arel queries

Jasper Maes requested to merge jlemaes/gitlab-ee:rails5-fix-6745 into master

What does this MR do?

Similar problem as in gitlab-ce!19796 and gitlab-ce!18330 where the query was the query has something like uploads.model_id IN (0) in Rails 5 due to a bug.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

rails5 upgrade

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #6742 (closed) Closes #6745 (closed) Closes #6743 (closed)

Edited by Yorick Peterse

Merge request reports