Agile Web Development with Rails 7:

@rubys

the dynamic payments form on the order page will not work unless

bin/rails stimulus:install

is run by the developer

Make sure to include that in the final version of the book, I lost an hour figuring this out.

That should be included when you create a new project. If you run rails new foo you will see a line that looks like:

       rails  turbo:install stimulus:install

Just a wild guess, are you on windows and did you see an error about missing tzinfo-data? If your install didn’t complete successfully (for any reason, the above is the only example that comes to mind), and you find a way to continue you might be missing things like stimulus and turbo.