daijinara
Joined 11/27/2020
daijinara said almost 3 years ago on Cropping Active Storage Uploads :
  your original code works better on positioning. 

(crop_width + crop_x).to_f,
(crop_height + crop_y).to_f

daijinara said almost 3 years ago on Organizing Stimulus Controllers :
  Hi David! I love your contents and you are my mentor. 

I practice the way you organize Stimulus files. I am back to sprockets with Hotwire-rails and abandoned webpacker for my new project.

I am wondering do you do the "ApplicationController" in this environment? 

Also have you figured out the functionality of "libraries" folder in Hotwire-rails? 

I am using Skypack for the external js libraries, such as rails/request.js, so there is not match of a problem to be honest, but I am just curious if import from "node_module" folder is good practice with Sprocket. 

For example, ActionText is design to use webpacker as default. But is the elegant way to integrate ActionText in Hotwire-Rails & Sprockets environment?


daijinara said almost 3 years ago on Organizing Stimulus Controllers :
  Thank you so much for your experienced wisdom and insights. I stopped using webpacker because it suddenly broke front-end css/scss rendering. I could have looked into it deeper to solve the issue but your bootstrap 5 tutorial was interesting, and also I have a blind impression that DHH and Basecamp engineers are building their app with pure sprockets, so I am experimenting with sprocket again. 

I hope the Stimulus will solve the potential growing pains that you mentioned.

Your contents is essential to achieve my goal in life. 

Thank you for creating this!

Daiji 

 

daijinara said almost 3 years ago on Ransack Search and Hotwire :
  Thank you so much for this episode! Now I can confidentily exclude StimulusReflex and go full on Hotwire! 

daijinara said almost 2 years ago on Easy Infrastructure :
  David Kimura Would you please allow me to clarify your view on production level architecture? You are suggesting to use managed DB and object storage services outside of your Portainer cluster. How would you setup in the 'docker-compose.yml.erb' in this case? Also if you want to add other additional services like Sidekiq, ElasticSearch, and AnyCable, how would you use your Portainer clusters? Do you see your Portainer clusters as specific to application server functions?

This is really useful tutorial! Thank you so much.