python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Best practice: Ok to render Turbo Stream response only? Or always include standard HTML response?
Is it best practice to keep both format.html and format.turbo_stream responses in the respond_to block for ALL controller responses? Is there any scenario where it is safe to only include a turbo_str...
richleenyc
Votes: 0
Answers: 1
Rails console destroy action but is not percolated to the application and handling via turbo stream
A form contains a destroy button
<%= button_to 'bomb', message, method: :delete, form: { data: { turbo_confirm: 'R U sure?' } } %>
and the controller responds in an expected manner
respond_...
Jerome
Votes: 0
Answers: 0
reset form in hotwire
As provided in an example on the landing page for hotwire, the form clearing procedure is opaque to me and also does not work.
With rails 7.0.1 installed running ruby 3.1.
the stimulus controller is s...
Jerome
Votes: 0
Answers: 1
Keep modal open on Turbo load?
I am essentially following this GoRails episode: https://gorails.com/episodes/datatables-from-scratch-using-hotwire
Changes to the form update the projects frame as expected. I have filters in a moda...

Dan Tappin
Votes: 0
Answers: 1