-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathseeds.rb
55 lines (48 loc) · 1.07 KB
/
seeds.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Book.create do |b|
b.name = 'To Kill a Mockingbird'
b.author = 'Harper Lee'
b.sku = '12345'
b.state = :active
end
Book.create do |b|
b.name = 'How to learn Chinese in 135 years'
b.author = 'John Smith'
b.sku = '12346'
b.state = :active
end
Book.create do |b|
b.name = 'Whatever'
b.author = 'Harper Lee Johnson'
b.sku = '12347'
b.state = :active
end
Book.create do |b|
b.name = 'Hunting and Fishing'
b.author = 'Elvis Thomson'
b.sku = '12348'
b.state = :active
end
b = Book.create do |b|
b.name = 'Software Engineering for newbies'
b.author = 'Georgios Katsanos'
b.sku = '12349'
b.state = :active
end
Book.create do |b|
b.name = 'Ruby for beginners'
b.author = 'Dmitry Filatov'
b.sku = '12350'
b.state = :active
end
Book.create do |b|
b.name = 'C++ for advanced users'
b.author = 'John Anderson'
b.sku = '12351'
b.state = :active
end
Book.create do |b|
b.name = 'Fates and Furies Very long title here for experimenting with the layout'
b.author = 'Lauren Groff Van Thomson Pierson Writerson'
b.sku = '12352'
b.state = :active
end