Skip to content

Deprecate `pluck_primary_key` helper

Aboobacker MK requested to merge tachyons-gitlab-master-patch-48181 into master

What does this MR do and why?

Deprecate pluck_primary_key helper

pluck_primary_key is a helper method we added to avoid having pluck queries on application logic. But the implementation is same a the ids method provided by the active record.

Original MR: !10483 (merged) ActiveRecord PR: https://github.com/rails/rails/pull/6091

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

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

Merge request reports