Hi I'm working on the depot app and I'm on iteration C2 where there
shouldn't be multiple entries of the same item and instead there should
be a quantity. I've done everything according to the book but it seems
that when I do:
I still get the error:
NoMethodError in StoreController#add_to_cart
undefined method `product' for #<Product:0x506f298>
Does @items still thinks that it has product objects instead of cart
I'm using Rails 1.2.
Thanks in advance.