Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-10 00:07:57 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-10 00:07:57 +0300
commit5aa96ff14229dba7e35f213354963febf3ad2833 (patch)
tree544f3233c05f7f1aa723ea9f13036f2f45d91745 /doc/development/mass_insert.md
parent7ebcead8cfd2edb810dd0cbda816b6cfbd170fe3 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/mass_insert.md')
-rw-r--r--doc/development/mass_insert.md2
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
```