David Kimura PRO
Joined 7/18/2015
Drifting Ruby Owner
Ruby Rogues Panelist
David Kimura PRO said over 3 years ago on FullCalendar with StimulusJS :
On the cancel button? You may need to pass the event into the closeModal function and then event.preventDefault()

David Kimura PRO said over 3 years ago on Policy Manager with GDPR Rails :
  It looks like the main branch on github does allow Rails 6.

# Gemfile
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

gem 'gdpr_rails', github: 'prey/gdpr_rails'

However, it also looks like it has been a year since the last update.

David Kimura PRO said over 3 years ago on Hotwire Turbo Replacing Rails UJS :
I feel your pain   . It is especially frustrating when all of this is getting ran in a docker container where the same version of things (ruby, node, yarn) haven't changed. I agree with the whole Rails 4 aspect of things where it was just simple and works, but at the same time, I feel like my JS was in a much worse way in terms of organization. It wouldn't be uncommon that one js file would end up conflicting with another. To mitigate that we did page specific javascript, but that had its own complications. I don't know what the right solution will be, but I'd love something that gave us best of both worlds.

David Kimura PRO said over 3 years ago on Slim Select with Stimulus :
  Wow... That really would have been helpful. It didn't jump out and bite me! It definitely would have made the episode prep a lot easier!

David Kimura PRO said over 3 years ago on Slim Select with Stimulus :
It looks like if it doesn't exist, it would send the values over to the app. But, likely, it would just send the Value back to the server. From here, we could separate values from integer and strings and create the new categories. This can be nice too since we can limit who can make these changes.