I really like the play time discussions in http://pragprog.com/wikis/wiki/RailsPlayTime and have been following along until I got to task E. It seems there are no discussions for this task. I would like to try and complete these tasks and see if anyone else has already tried. Also I want to know how I can add validation so I can’t place an order with an empty cart. I know earlier in the book we make it so you can’t get to the checkout page if your cart is empty, but after you are already there, you can empty your cart from the sidebar.
I tried adding “validates_associated :line_item” in my order model, but it didn’t work. would love to hear any ideas.