Skip to content
代码片段 群组 项目
未验证 提交 2c292830 编辑于 作者: Peter Leitzen's avatar Peter Leitzen 提交者: GitLab
浏览文件

Merge branch 'fix-stale-rubocop-guidance-link' into 'master'

Fix stale rubocop guidance link for bulk insert

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/160513



Merged-by: default avatarPeter Leitzen <pleitzen@gitlab.com>
Approved-by: default avatarPeter Leitzen <pleitzen@gitlab.com>
Co-authored-by: default avatarAdam Cohen <acohen@gitlab.com>
No related branches found
No related tags found
无相关合并请求
......@@ -6,7 +6,7 @@ module Gitlab
# Cop that disallows the use of `legacy_bulk_insert`, in favour of using
# the `BulkInsertSafe` module.
class BulkInsert < RuboCop::Cop::Base
MSG = 'Use the `BulkInsertSafe` concern, instead of using `LegacyBulkInsert.bulk_insert`. See https://docs.gitlab.com/ee/development/insert_into_tables_in_batches.html'
MSG = 'Use the `BulkInsertSafe` concern, instead of using `LegacyBulkInsert.bulk_insert`. See https://docs.gitlab.com/ee/development/database/insert_into_tables_in_batches.html'
def_node_matcher :raw_union?, <<~PATTERN
(send _ :legacy_bulk_insert ...)
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册