awdwr

Question about building a shopping cart/checkout with Rails

I just picked up Agile Web Development with Rails 3rd Ed., and I'm going thru the Depot Application chapters, and I have a question about Product/Item options- If I wanted to modify the product catalog and store so that products could have options (size, color, whatever), where/how would I do that? Let's say I'm selling t-shirts, and t...

Problem with displaying usernames in my flash[:notice] - Agile Web Development With Rails - Chapter 11

I can't figure out what I'm doing wrong here. I can’t seem to get the #{@user.name} to work in my flash[:notice] Everything else works just fine I can add new users, but when I add a new user instead of saying “User John Doe was successfully created”, it says “User #{@user.name} was successfully created.” I'm at this point in the dep...