David Kimura PRO
Joined 7/18/2015
Drifting Ruby Owner
David Kimura PRO said over 4 years ago on Hotwire Dashboards :
  It should work with Rails 6.x. However, you likely had turbolinks in that application and you would have to convert it over to Turbo (hotwire) to work properly.

As far as the modal stuff goes. This can get a bit trickier. Likely, I would have an empty turbo frame tag in the layouts for the modal. When you click the Edit Comment button, it would make a request back to the rails application for that comments#edit. From there you would have a turbo_stream response and an associated edit.turbo_stream.erb file which would then replace the empty turbo frame tag in the layouts with a partial which had that turbo frame tag and the modal information. You would then have, within that partial, a stimulus controller something to launch the modal when the controller connects. Hope this makes sense.

David Kimura PRO said over 4 years ago on Hotwire Dashboards :
You could render the modals inline with the content, but the main issue there is that you're spending CPU cycles and bandwidth in creating these modals that might never be triggered. This does sound episode worthy as it can be a complicated feature. 

David Kimura PRO said over 4 years ago on Deployment alternatives :
  Unfortunately, the Deployment Alternatives episode isn't looking too good right now. App Platform has a major issue with using an old heroku/ruby buildpack version. This is a problem because it will not allow for the deployment of a yarn-based Ruby on Rails application without webpacker. Essentially, you have to use webpacker and not jsbundling-rails or cssbundling-rails. I'm in talks with the Digital Ocean team to see if they can get this resolved, but as such, I will likely have to postpone this episode until they update their platform.

David Kimura PRO said over 4 years ago on Deployment alternatives :
Yea, I've played with Dokku and it seems pretty well done. However, lately, I've been playing around with Portainer on side projects and I feel like it is a decent option. There really are three parts with it. We have the cloud formation step, the continuous deployment and application monitoring (scaling included). So far, it seems like AWS App Runner is the most "flexible" option that would rival Heroku. I do like Beanstalk, but will probably go with App Runner for my next project.

David Kimura PRO said over 4 years ago on Shopping Cart with Turbo :
  How are you starting the application. I just downloaded the project, ran

bundle install
yarn install
bin/dev

and it started up the application without any issues. If you run the seeds, you may need to add this to various places since I did seed the records initially without the images.
if product.image.attached?