# Agile Web Development with Rails 7: page 179 the first bullet point has, I believe, a mistake

**URL:** <https://forum.devtalk.com/t/agile-web-development-with-rails-7-page-179-the-first-bullet-point-has-i-believe-a-mistake/38331>\
**Category:** PragProg Customers\
**Tags:** book-agile-web-development-with-rails-7, suggestion\
**Created:** [29 January 2022 03:48 UTC](https://forum.devtalk.com/t/agile-web-development-with-rails-7-page-179-the-first-bullet-point-has-i-believe-a-mistake/38331 "2022-01-29T03:48:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamesw](https://forum.devtalk.com/user_avatar/forum.devtalk.com/jamesw/32/3806_2.png) [@jamesw](https://forum.devtalk.com/u/jamesw)\
**Post date:** [29 January 2022 03:48 UTC](https://forum.devtalk.com/t/agile-web-development-with-rails-7-page-179-the-first-bullet-point-has-i-believe-a-mistake/38331/1 "2022-01-29T03:48:21Z")

</div>

Title: AWDWR Rails 7 b1 0 pdf:  
At the top of page 179 the first bullet point has, I believe, a mistake

First we wrap all of the elements that are to be controlled by the payment  
Stimulus controller with an element with a data-controller field naming the  
controller.

removing the words “with an element” I think would be better so it reads

First we wrap all of the elements that are to be controlled by the payment  
Stimulus controller with a data-controller field naming the  
controller.

---

<div class="post-metadata">

**Author:** ![rubys](https://forum.devtalk.com/user_avatar/forum.devtalk.com/rubys/32/3797_2.png) [@rubys](https://forum.devtalk.com/u/rubys)\
**Post date:** [29 January 2022 10:41 UTC](https://forum.devtalk.com/t/agile-web-development-with-rails-7-page-179-the-first-bullet-point-has-i-believe-a-mistake/38331/2 "2022-01-29T10:41:22Z")

</div>

I agree that with…with is awkward, but I would prefer:

> with a div element containing a data-controller attribute naming the controller.

---

<div class="post-metadata">

**Author:** ![jamesw](https://forum.devtalk.com/user_avatar/forum.devtalk.com/jamesw/32/3806_2.png) [@jamesw](https://forum.devtalk.com/u/jamesw)\
**Post date:** [29 January 2022 16:16 UTC](https://forum.devtalk.com/t/agile-web-development-with-rails-7-page-179-the-first-bullet-point-has-i-believe-a-mistake/38331/3 "2022-01-29T16:16:44Z")

</div>

Much better Sam, It’s good to see you still working on the book, it’s been a very long time since we last spoke, keep up the superb work
