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
Turbo not loaded when following 7.0.1 tutorial #44229
Comments
Hi @Rik-de-Kort
I am on Rails I am 🤔 if you are facing this issue > hotwired/turbo-rails#66 that has a fix here hotwired/turbo-rails@c1c0b1d I am thinking if your Ruby version If I find more details then ill add another comment for you soon here. |
Recreating the app from scratch and reinstalling the rails gem seemed to help. However, I'm still getting the rdoc error if I don't add it to my gemfile. |
I was facing the same issue on a project initialized with the first release of rails 7.0.0. After upgrading to 7.0.1 on the same project, the issue still occurs. The workaround of adding Like @Rik-de-Kort, I've ended up recreating a new project from scratch and the issue is now solved.
|
I think this issue should be reopened until the workaround/fix is added on the ROR guide, or is at least mentioned... |
I don't think the If you (or anyone) can reproduce an error while running |
I have the same issue with Rails 7.0.4.2. Clicking the destroy link does nothing, just produce a GET-request for the article itself. |
Also
|
I'm on Rails 7.0.5 and |
same issue with the start up guide, when click ruby -v rails --version
|
Steps to reproduce
Following Getting Started with Rails in the selection on "deleting an article". Clicking the destroy link does nothing, just produce a GET-request for the article itself. Look at the generated HTML, turbo is never loaded. Adding in
<%= turbo_include_tags %>
inapp/views/articles/show.html.erb
fixes it.Expected behavior
Clicking 'Destroy' on the article page removes the article by sending a DELETE-request, with a confim dialog beforehand.
Actual behavior
Turbo is never loaded, so clicking 'Destroy' simply sends a GET-request to the article.
System configuration
Rails version: 7.0.1
Ruby version: ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x86_64-linux]
On Arch, I also had some issues with #44143
Is there anything I can do to make sure Turbo is being included without having to remember to type turbo_include_tags all the time?
Also, stylesheets appear not to be loaded either, as my app doesn't correspond to the screenshot in the guide.
The text was updated successfully, but these errors were encountered: