Re: Depot app from ''Agile Web Development with Rails''

radhames brito
Sun, 19 Sep 2010 12:24:56 -0000

forgot to add the ''end''

     current_item = CartItem.new(product)
>      unless  params[:quantity].blank?
>
     current_item.quantity = params[:quantity]
>       end