haml / haml-rails

let your Gemfile do the talking
MIT License
1.04k stars 169 forks source link

Rails 7.0.1 + Turbo, scaffold generator, app/views/RESSOURCE/index.html.haml #179

Open ycrepeau opened 2 years ago

ycrepeau commented 2 years ago

The scaffold generator uses a \<table\> to build the listing found in the index.html.haml file.

When I try to add a =turbo_frame_tag the code does not work properly. I have submitted an issue in the Rails/Rails project and @dhh answered me that the tables are not used anymore in the Rails 7 code.

After investigation, I have discovered that my problem comes from here (haml_rails) and the scaffold should be updated.