Carl Tanner

Joined

5,540 Experience
54 Lessons Completed
0 Questions Solved

Activity

Posted in How to use Webpack require.context Discussion

Thanks Chris!

Posted in Multiuser Live Video Chat in Rails Discussion

Any ideas on how to provide a choice between h264 and the other formats?

I just ran into that. The Rails error suggested the same thing.

So does that mean that you are good if the app runs a place update each month? If so, for smaller apps, you are golden. The Mapbox API might be a good alternative.

Overall, thanks Chris for offering this look into how to use Google's API with rails. I haven't seen anyone put something like this together in a while.

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.

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2020 GoRails, LLC. All rights reserved.