small medium large xlarge

20 Jun 2011, 09:10
Allen King (1 post)

Working through the Depot example in the book and have a recurring issue.

I have added the code to the info_controller.rb and who_bought_xml.builder as in the book. I have also added the has_many :orders, :through => :line_items to the product.rb file yet every time I try to go to


I keep getting the same error ActionController::RoutingError (No route matches “/info/who_bought/3”):

Can anyone help me?

You must be logged in to comment