Episodes

Stephane PAQUET PRO
Joined 5/29/2021
Stephane PAQUET PRO said 7 months ago on Fixing Assets in CSS Bundling for Rails :
  marklar did you try following  David Kimura  tutorial?

Stephane PAQUET PRO said 4 months ago on Label Maker with Ruby :
I spotted this other CUPS gem https://github.com/m0wfo/cups last updated on 2021
Why did you favor cupsffi over cups?

Stephane PAQUET PRO said 3 months ago on Direct Upload Instantly :
Update. [not sure if this was introduced in Rails 7 or before]
Instead of hardcoding the URL in the postURL method, it is possible to use the direct_upload: true in the file field and retrieve its value calling this.inputTarget.dataset.directUploadUrl


Stephane PAQUET PRO said 3 months ago on Direct Upload Instantly :
  I'm not sure the token is still required in Rails 7.0.2 I was building an app few days ago and found out that you can remove it...
Also, if planning to use it it seems that you can write const token = event.target.dataset.directUploadToken; inside the stimulus controller (Rails 7 required) and avoid writing an helper method to generate the token and declaring it in the form.

Stephane PAQUET PRO said 27 days ago on Real-time Comments and Voting :
  nelsonchavespro I do not think so. From what I found out, you have to implement this logic in a Stimulus controller. There is an example from DHH in a comment about this feature request in GitHub.
Here is a thread about this topic on Reddit with all the links I found: https://www.reddit.com/r/rails/comments/vntbl3/best_way_to_deal_with_sorted_data_in_a_stream/ feel free to contradict me if you find a better way.
Cheers