following along with the e-commerce exercise in agile web dev for ruby 1.9.