Looking for the Rails 3.0 version of these exercises (Script.aculo.us/Prototype based)?
The cart is currently hidden when the user empties it by redrawing the entire catalog. Can you change the application to use the jQuery UI
blind effect instead? Discuss
Hint: After the call to
#cart, empty the table using the not method to select all of the rows except the
.total_line for removal.
Add a button next to each item in the cart. When clicked, it should invoke an action to decrement the quantity of the item, deleting it from the cart when the quantity reaches zero. Get it working without using Ajax first, and then add the Ajax goodness. Discuss
Hint: start by adding a member route to
post 'decrement' on