Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
3cc2c6ef
Commit
3cc2c6ef
authored
Aug 11, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove outdated seeds
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
f8eedb4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
db/fixtures/development/08_wall.rb
db/fixtures/development/08_wall.rb
+0
-21
No files found.
db/fixtures/development/08_wall.rb
deleted
100644 → 0
View file @
f8eedb4c
Gitlab
::
Seeder
.
quiet
do
(
1
..
300
).
each
do
|
i
|
# Random Project
project
=
Project
.
all
.
sample
# Random user
user
=
project
.
users
.
sample
next
unless
user
user_id
=
user
.
id
Note
.
seed
(
:id
,
[{
id:
i
,
project_id:
project
.
id
,
author_id:
user_id
,
note:
Faker
::
Lorem
.
sentence
(
6
)
}])
print
(
'.'
)
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment