Agile Web Development with Rails 7: Missing instructions on building an Atom feed (page 181)

@rubys

On the page 181 it’s said:

We also don’t have time to build a full-fledged admin user interface right now, so we’ll take advantage of the various Atom feed readers that exist and have our app export all the orders as an Atom feed so the customer can quickly see what’s been purchased.

Looks like instructions on creating an Atom feed should follow right there, but they are missing. On the page 182 it’s said:

What We Just Did:

  • We provided a feed so the administrator can monitor incoming orders.

And on the page 183:

Playtime
Here’s some stuff to try on your own:

  • Get HTML- and JSON-formatted views working for who_bought requests. Experiment with including the order information in the JSON view by rendering @product.to_json(include: :orders). Do the same thing for XML using ActiveModel::Serializers::Xml.2

Looks like this task is related to the Atom feed that should have been built above.

2 Likes

yep, i noticed that too.

The book is missing a subsection called Iteration G2: Atom. In the previous version of the book “AWDR-6,” four pages (189-192) are dedicated to Atom feeds.