Turbolinks doesn't handle render

This issue explains it well Handling form errors with Rails automatically? · Issue #85 · turbolinks/turbolinks · GitHub but the fact that turbolinks doesn’t handle the common case of rendering when there is a form error throws me every time.

I’ve started using a variation of this solution Handling form errors with Rails automatically? · Issue #85 · turbolinks/turbolinks · GitHub with a specific method called render_with_turbolinks to handle this common case.

3 Likes

It looks like this is slated to be fixed in Turbolinks 6, per discussion on here: Add supports for `render` in controllers · Issue #40 · turbolinks/turbolinks-rails · GitHub

Does anyone know roughly when Turbolinks 6 might be released?

2 Likes

Plan is to have TL6 out ~late summer/early fall. It’ll address this issue and more. TL6 is now fully aware of forms.

12 Likes

Can I predict the death of Rails UJS ??? :grin:

Yes. The need for UJS is gone with TL6.

4 Likes

for that matter, is there any easy way to see progress on TL6? couldn’t find much on GitHub - turbolinks/turbolinks: Turbolinks makes navigating your web application faster, like a projects page or tracking issue, or something like that

4 Likes