Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update_all documentation incorrect #711

Open
stufro opened this issue Feb 5, 2025 · 0 comments
Open

update_all documentation incorrect #711

stufro opened this issue Feb 5, 2025 · 0 comments

Comments

@stufro
Copy link

stufro commented Feb 5, 2025

The documentation for the update_all method states that you can do this:

 <%= turbo_stream.update_all "clearance_item", "Update the content of the dom target identified by the class clearance_item" %>

However this doesn't work, you need to pass in ".clearance_item" as described in the Turbo docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant