books quantity
This commit is contained in:
parent
c2dfc1f04a
commit
733870ce96
7 changed files with 58 additions and 27 deletions
|
@ -2,17 +2,20 @@ books = Book.create([
|
|||
{
|
||||
title: 'Journey to the Center of the Earth',
|
||||
price: 10900,
|
||||
published: true
|
||||
published: true,
|
||||
quantity: 100
|
||||
},
|
||||
{
|
||||
title: 'From the Earth to the Moon',
|
||||
price: 6300,
|
||||
published: false
|
||||
published: false,
|
||||
quantity: 0
|
||||
},
|
||||
{
|
||||
title: 'Imaginary trip',
|
||||
price: 3600,
|
||||
published: true
|
||||
published: true,
|
||||
quantity: 0
|
||||
},
|
||||
])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue