Search Results for "how-do-i-store-audio-files-in-production-3ac7f842-93ca-43c0-a299-9d14eabb4e8a"
Lessons
Forum Threads
How do I store audio files in production?
I would definitely recommend uploading with Shrine directly to S3 and then serving the files up through Cloudfront CDN. That way the downloads will be quick as possible which is what you want when ...
Chris Oliver
replied
•
Solved
3
Rails
Tracking Metrics with Ahoy and Blazer Discussion
I'm looking to track downloads of mp3 files that are stored using ActiveStorage with Ahoy and data visualized with Blazer. Anyone got any resources for how to do this tracking of ActiveStorage wit...
CF Pro Tools
replied
21
General
How do I find the best place to store user videos and how to capture them?
Thanks mate. That is really helpful.
Keep up the good work.
Giorgos Psathas
replied
•
Solved
5
General
How do I store users’ API keys for 3rd party services
That's an incredibly simple and elegant solution. Thank you so much Chris!
Yi Mei Wang
replied
•
Solved
3
General
How might I handle event-sourcing?
So it appears this is the big rub:
* From what I can tell from bc3, they create events after the fact about things that have already happened
* Kickstarter/the pattern itself definitely prescribe c...
Chris Zempel
replied
3
Rails
Forum Series Part 7: Time Zones using the local_time Gem Discussion
you can use "yarn add local-time" to get this working.
character804
replied
24
General
Subscriptions with Stripe Discussion
Hi Chris,
Just joined GoRails to access the pro videos! Would it be possible to update the Stripe courses with the latest Stripe API? I followed the video from 2015 but it doesn’t seem to work. I’m...
Daniele
replied
96
General
How do I embed a Rails app into another website?
Check out this series: https://gorails.com/series/embeddable-javascript-widgets-with-rails
Chris Oliver
replied
•
Solved
2
General
How to relate such as tables of a scaffold and a model and presentation of data in the show.html.erb view of the scaffold. Rails.
You can't save `street` to the Patient model if you don't have have a column with that name.
You said you were using a separate table to store the addresses, so you would need to use a nested for...
Chris Oliver
replied
4
Rails
Uploading a lot of videos and storage
Just a general question here, hope someone can advise.
I am going to allow a whole load of vidoes to be uploaded onto my site ~ 1k.
I am already storing images and other uploads such as vidoes an...
Haroon
posted
1
General
Loop through associated records and deliver as csv
Hi Chris,
many many thanks! I'll try this out.
Sascha M.
replied
•
Solved
6
General
How should I model this situation?
I think your second post outlines a pretty good storage mechanism. You obviously want to actually make that a database backed model with a `company_id` on it so you don't have to make up the metric...
Chris Oliver
replied
3
Rails
How do I structure a Conversation between two models?
I didn't realize I could access `conversation.recipient` and `conversation.sender` so easily, going to try to model it as you suggested above Casey :thumbs_up:
Taylor Cooney
replied
•
Solved
7
Rails
How do i create another table when a user signs up?
Cheers Chris, Let me check this out and get it working :D
Alan Reid
replied
•
Solved
3
Rails