diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-05 06:13:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-05 06:13:51 +0300 |
commit | c20abe491ceeb1b8e1350f18f0c91e0a31c73cb5 (patch) | |
tree | b8f9c5888b0ec18b24eb49f790a253ddc7905f1a /doc/development/mass_insert.md | |
parent | 35850d3d1643a9e2c5328f45b8a9026ac3d86e35 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/mass_insert.md')
-rw-r--r-- | doc/development/mass_insert.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/development/mass_insert.md b/doc/development/mass_insert.md index e16f162abfa..412639927a7 100644 --- a/doc/development/mass_insert.md +++ b/doc/development/mass_insert.md @@ -15,5 +15,5 @@ the following snippet in the rails console. ```ruby u = User.find(1) -Project.last(100).each { |p| p.set_timestamps_for_create && p.add_maintainer(u, current_user: u) } # Change 100 to whatever number of projects you need access to +Project.last(100).each { |p| p.send(:set_timestamps_for_create) && p.add_maintainer(u, current_user: u) } # Change 100 to whatever number of projects you need access to ``` |