summaryrefslogtreecommitdiff
path: root/doc/development/mass_insert.md
diff options
context:
space:
mode:
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
```