hi im using
def add_to_cart
@cart = find_cart
product = Product.find(params[:id])
@cart.add_product(product)
end
from a book. this is to create a shopping cart. what I don't understand is, do I need a controller for my cart? because without it,its giving me an error