diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-09 21:07:57 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-09 21:07:57 +0000 |
commit | 5aa96ff14229dba7e35f213354963febf3ad2833 (patch) | |
tree | 544f3233c05f7f1aa723ea9f13036f2f45d91745 /doc/development | |
parent | 7ebcead8cfd2edb810dd0cbda816b6cfbd170fe3 (diff) | |
download | gitlab-ce-5aa96ff14229dba7e35f213354963febf3ad2833.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development')
-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 891ce0db87d..47f993a921e 100644 --- a/doc/development/mass_insert.md +++ b/doc/development/mass_insert.md @@ -9,5 +9,5 @@ the following snippet in the rails console. ```ruby u = User.find(1) -Project.last(100).each { |p| p.set_create_timestamps && p.add_maintainer(u, current_user: u) } # Change 100 to whatever number of projects you need access to +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 ``` |