Vincent Rolea


30 Experience
0 Lessons Completed
0 Questions Solved


Which version of Turbo are you using ? Those features were made available in the last Turbo release 7.1.0 and in turbo-rails since 0.9.0.

I agree Turbo docs lack some new features that have been implemented recently. The usage section in the turbo-rails docs even invite people to read the code directly.

The Turbo releases page could be a good start to keep track of all the new additions to the libray IMO

Thanks for the video Chris ! Really cool to see those new features in action.

For those who are wondering, the possibility to override the confirm modal has also been ported to Turbo. To use a custom dialog, simply set it like that, on your application.js for instance:

const newConfirmMethod = (message, formElement) => confirm("overriden method")


Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

© 2024 GoRails, LLC. All rights reserved.