Commit da2ab608 authored by Russell Dickenson's avatar Russell Dickenson

Merge branch 'docs-update-mass-insert-method' into 'master'

Update deprecated name method in mass_insert.md

See merge request gitlab-org/gitlab!26745
parents 3214dbe6 cacfc023
...@@ -9,5 +9,5 @@ the following snippet in the rails console. ...@@ -9,5 +9,5 @@ the following snippet in the rails console.
```ruby ```ruby
u = User.find(1) 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
``` ```
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment