books quantity

This commit is contained in:
Karol Selak 2021-03-22 01:24:13 +01:00
parent c2dfc1f04a
commit 733870ce96
7 changed files with 58 additions and 27 deletions

View file

@ -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
},
])