# Agile Web Development with Rails 7.2: Replace screenshot with better example (Page 79)

**URL:** <https://forum.devtalk.com/t/agile-web-development-with-rails-7-2-replace-screenshot-with-better-example-page-79/178388>\
**Category:** PragProg Customers\
**Tags:** book-agile-web-development-with-rails-7-2, errata\
**Created:** [23 November 2024 05:46 UTC](https://forum.devtalk.com/t/agile-web-development-with-rails-7-2-replace-screenshot-with-better-example-page-79/178388 "2024-11-23T05:46:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fishburn](https://forum.devtalk.com/letter_avatar_proxy/v4/letter/f/838e76/32.png) [@fishburn](https://forum.devtalk.com/u/fishburn)\
**Post date:** [23 November 2024 05:46 UTC](https://forum.devtalk.com/t/agile-web-development-with-rails-7-2-replace-screenshot-with-better-example-page-79/178388/1 "2024-11-23T05:46:53Z")

</div>

On page 78, you say:

- The rows in the listing have alternating background colors. The Rails helper method called `cycle()` does this by setting the CSS class of each row to either `bg-green-50` or `bg-white`, automatically toggling between the two style names on successive lines.

But the screenshot on the next page shows no evidence of that special feature. And, with the bullets and blue underlined text of the Show, Edit, and Destroy links, it doesn’t look like Tailwind touched the page at all. That said, the code does work just fine in my dev environment _(see screenshot below)_.

 ![agile-web-development-with-rails-7.2--page-79-screenshot-update](https://forum.devtalk.com/uploads/default/original/2X/f/f77e0e3a7121dc2af580f61dee71803937ef0a54.jpeg)

---

<div class="post-metadata">

**Author:** ![fishburn](https://forum.devtalk.com/letter_avatar_proxy/v4/letter/f/838e76/32.png) [@fishburn](https://forum.devtalk.com/u/fishburn)\
**Post date:** [23 November 2024 05:54 UTC](https://forum.devtalk.com/t/agile-web-development-with-rails-7-2-replace-screenshot-with-better-example-page-79/178388/2 "2024-11-23T05:54:24Z")

</div>

I just checked, and it turns out that page 81 of “Agile Web Development with Rails 7” (2023) has the better screenshot.
