Carl Tanner

Joined

9,500 Experience
92 Lessons Completed
0 Questions Solved

Activity

Posted in How to use Uppy with ActiveStorage Discussion

Thanks Max!

Posted in How to use Uppy with ActiveStorage Discussion

Thanks for showing this. I can see how file uploads can be easier. If I want to have the interface and UX of the dashboard, how do I incorporate that? For example, I like the camera option shown in the uppy demo..

Hi Corey,

I know it's been months, but here's some info in video and code:

https://www.youtube.com/watch?v=fg_8qJ-su6A
https://github.com/justalever/drag_and_drop_active_storage

If you have the S3 part of the puzzle, please let me know.

Carl

Wait, that might not work well.

I just notices a rails helper method for escaping the html on show.html.erb, :html_escape

example:

helper.send(:html_escape, 'is a > 0 & a < 10?')

It might be easier.

Posted in Rails 5.2 - Encrypted Credentials Discussion

Quick question: If I have my rails app publicly shared on github, and my S3 bucket is in storage.yml, does that mean that even though no one can see my credentails, can they still use them to access and/or change the contents of the bucket?

Posted in Vue.js Components in Rails Views Discussion

Thanks for the insight Chris. It took me a while to wrap my head around this one.

Posted in Dynamic Nested Forms with Stimulus JS Discussion

Neat CLI trick: mv app/javascript/controllers/{hello,nested_form}_controller.js to rename the file.

Posted in Direct File Uploads to S3: Part 2 Discussion

This episode is super helpful.