Creating checkout - dragonstar/depot GitHub Wiki

problems on this chapter are:

  1. ATOM feeds do not work Checkout error ActionView::Template::Error (undefined method title' for nil:NilClass): 1: atom_feed do |feed| 2: feed.title "Who bought #{@product.title}" 3: 4: latest_order = @product.orders.sort_by(&:updated_at).last 5: feed.updated( latest_order && latest_order.updated_at ) app/views/products/who_bought.atom.builder:2:in _app_views_products_who_bought_atom_builder__1341460464_2289488060' app/views/products/who_bought.atom.builder:1:in `_app_views_products_who_bought_atom_builder__1341460464_2289488060'

  2. Will_pageination did not work - in orders-controller Order.pageination was not recognised.

  3. XML & JSON excersises were not done

  • format JSON in controller --- how is this tested?