David Kimura PRO
Joined 7/18/2015
Drifting Ruby Owner
David Kimura PRO said almost 5 years ago on Hotwire :
  The controller action is set to 
redirect_to @ticket
We could work around that by preventing a redirect, but I just didn't in the episode.

David Kimura PRO said almost 5 years ago on Multiple Resources with Devise :
  Yes and that would probably be my default way of handling different kind of actors. I would only reach for multiple devise models if the different actors were so different that it would almost be like a completely different app experience. Pretty much, if there was any kind of overlap between actors, I would try to keep them the same model but use roles to determine the accessible functionality.

David Kimura PRO said almost 5 years ago on Organizing Stimulus Controllers :
  Thanks! Personally, I still use webpacker as I have personally not experienced a lot of issues with it. It is a bit slow when creating new applications and from time to time do run into some nontrivial issues, but nothing that has forced me into a different direction. With the current version of hotwire-rails, both Turbo and Stimulus will install under app/javascript if you have webpacker installed on the project. 

I haven't tried using the ApplicationController for Stimulus on a non-webpacker app yet, but I'd imagine that it would work similarly.

I will probably continue to use webpacker for me applications until the Rails core advises for a different route. I think going the pure sprockets way will have some growing pains in modern Rails apps until there is a set standard way. It does seem like we are in a pre-transitionary period around this stuff, but this is my speculation and not based on any actual direction that I've seen. (other than hotwire-rails working with or without webpacker)

David Kimura PRO said almost 5 years ago on Ransack Search and Hotwire :
  I was giving Github's Copilot a test run.




David Kimura PRO said almost 5 years ago on FullCalendar with StimulusJS :
   What version of Full Calendar are you using? They seem to change their API with quite a few breaking changes between versions.