I’ve made it to the point where we add validation to order.rb(p166). The books line_items.yml looks like this:
one: product: ruby ➤order: one two: product: ruby cart: one
The book states: “Note that if you didn’t choose to do the optional exercises in Playtime, on page 132, you will need to modify all of the references to products and carts at this time.”
I didn’t choose to play and my line_items.yml file looks like:
one: product_id: cart_id: two: product_id: cart_id:
If I change it to look like the book 30+ test start failing. What did I miss? Up to this point my app looks and works like the book.