David Kimura PRO
Joined 7/18/2015
Drifting Ruby Owner
David Kimura PRO said over 3 years ago on Liquid Templates :
I've been thinking about doing an episode on request.js. It's one of those things that I would like to see it as a default in new Rails apps, but also seeing the fetch/promise stuff is good. But, I agree, it is cleaner by far.

David Kimura PRO said over 3 years ago on Managing Terminal Sessions :
I haven't tried it with WSL2, but report back if it works!


David Kimura PRO said over 3 years ago on Dynamic Select Forms with Hotwire :
The episode should still be accurate. That error usually means that you're missing an element on the page with 
"data-dynamic-select-target": "secondarySelect"

David Kimura PRO said over 3 years ago on Dynamic Select Forms with Hotwire :
Can you inspect the html in the browser to make sure that the data attribute got set?

David Kimura PRO said over 3 years ago on Dynamic Select Forms with Hotwire :
Ah... I think I see the problem. In your code, you're closing the div before the form select for the secondary target. So, the secondary target is NOT part of the stimulus controller.