Active Storage For Image Uploads | Ruby On Rails 7 Tutorial

  Рет қаралды 18,635

Deanin

Deanin

Күн бұрын

Пікірлер: 43
@Deanin
@Deanin 2 жыл бұрын
Currently working on multiple new video ideas, as well as some courses. I've soft launched a course platform on my website learn.deanin.com It's not done yet, but let me know if there's any courses you'd be interested in. :)
@yahyaelganayni4055
@yahyaelganayni4055 2 жыл бұрын
I can not thank you enough for what you are doing not a lot of KZbinrs explain rails every one trying to have a trendy video so they explain react most of the time but thanks to you I have a good understanding of rails again thank you very much.
@Deanin
@Deanin 2 жыл бұрын
Happy to help! If there's anything else I can cover, feel free to ask.
@mikaelotti
@mikaelotti 2 жыл бұрын
This is really good! Love the structure, pace... and font size. THANK YOU!
@Deanin
@Deanin 2 жыл бұрын
Hahaha, first time I've heard positive things about the font size! Glad it was helpful! 🙂
@bienvenupam2584
@bienvenupam2584 2 жыл бұрын
Thank you Deanin ...
@tiagorahal5135
@tiagorahal5135 2 жыл бұрын
Thank you a lot man! I'm having a challenge to get a job as a junior rails dev and this video saved me
@beacoder
@beacoder 2 жыл бұрын
this is amazing. your videos have been absolute gold for me! thanks dean
@Deanin
@Deanin 2 жыл бұрын
Thank you so much! I'm glad they've been helpful. If there's anything I'm not covering that might be helpful feel free to reach out and I'll try my best to cover it. 😤
@beacoder
@beacoder 2 жыл бұрын
@@Deanin I'd be interested in knowing how private keys / data are normally stored in rails!
@Deanin
@Deanin 2 жыл бұрын
Sounds good, I'll add it to the list!
@kamerberattopal1358
@kamerberattopal1358 2 жыл бұрын
Very informative, great video. Thank you so much sir.
@NoobCodeSaga
@NoobCodeSaga Жыл бұрын
Thanks, man, you helped me so much!
@Povai
@Povai 2 жыл бұрын
Man thanks so much for this video Loved it!
@ledockol
@ledockol 2 жыл бұрын
GOOD VIDEO. THANKS!
@MatthewTrussell
@MatthewTrussell Жыл бұрын
I believe that if you run action_text:install it will also install active_storage, as it seems like it's a dependent package.
@RitchieMatos
@RitchieMatos 2 жыл бұрын
Thanks for the great video. Just wondering what extensions you're using for you VSCode
@abdouazizseck8838
@abdouazizseck8838 2 жыл бұрын
Thanks 👍😊
@tkhobbes
@tkhobbes 2 жыл бұрын
Thanks, love the video! The only thing I cannot find anywhere is how to remove an image (without replacement, ie not uploading a new one, but completely remove), in a way that allows a new picture to be uploaded later.
@OscarDiaz-mt9uq
@OscarDiaz-mt9uq 2 жыл бұрын
very good video :) one question is there any way to add a watermark to the images when they are displayed?
@JamesOh-nn9oi
@JamesOh-nn9oi 2 жыл бұрын
Thank you so much for the video! One quick question, even though I followed the set up in the video, for some reason my page get stuck when I am uploading new images or visit pages that display images. It sometimes work, but when I see the terminal it is stuck on "ActiveStorage::AnalyzeJob" and the page is loading forever. Do you have any idea what is causing this issue?
@marcbentoy
@marcbentoy 2 жыл бұрын
Thanks for this awesome video. Can you please help me do some rspec test on this?
@jesusmiranda9620
@jesusmiranda9620 2 жыл бұрын
Any tips or recommendations for documentation to use to host the images on S3?
@Deanin
@Deanin 2 жыл бұрын
Off the top of my head, I know that the edge guide has a decent guide for S3. I used that same S3 config the other day when I hosted an app on Heroku that needed active storage, so I used a DigitalOcean Space with it. Here's links to the edge guide: edgeguides.rubyonrails.org/active_storage_overview.html#s3-service-amazon-s3-and-s3-compatible-apis The video using S3: kzbin.info/www/bejne/mmOQlJdqh7B5raM
@jesusmiranda9620
@jesusmiranda9620 2 жыл бұрын
@@Deanin Thank you so much!
@Deanin
@Deanin 2 жыл бұрын
Happy to help :)
@haroldpepete
@haroldpepete Жыл бұрын
how can i access an image in falied form? i mean, when your model is not valid because of some validations fail but you want to retrieve that image to the view to customer doesn't have to choose the image again, and customer can fill the other field and send the form again to the backend, and repeat this cycle until the form is valid and all the information can be save
@Sediqwe
@Sediqwe 2 жыл бұрын
Multi image upload -> single image save?
@Pelu6cuerdas
@Pelu6cuerdas 2 жыл бұрын
Nice video! But in my case multiple: true is not working. I can only upload one image, do you know why?
@dbelyaev
@dbelyaev 2 жыл бұрын
Is there any way to get more cleaner image url in ActiveStorage?
@ThePazuzu
@ThePazuzu Жыл бұрын
Is there a way to customize the image url? They're all like host:port/rails/active_storage/disk/file. I would like to replace the /rails/active_storage/disk for something like year/month/day/file like wordpress.
@patrickfeeney4180
@patrickfeeney4180 Жыл бұрын
Thanks
@abdouazizseck8838
@abdouazizseck8838 2 жыл бұрын
Please can you make a video with Rails 7 how to get JS code read. Because I have written a JS code in rails 5 that works fine but nothing in rails 7
@Deanin
@Deanin 2 жыл бұрын
Yes, they changed how it works in 7. I can cover this, but for now you might want to look at either using Stimulus, or look for an "Import Map" tutorial. That might help you figure out how to get started. I've also created a beginner Rails 7 tutorial series that covers creating comments recently. The "Edit Comment" video uses stimulus JS. That could also be good to watch to see how JS works now. Link to stimulus video: kzbin.info/www/bejne/d2XGdaqgZa-MjNE
@abdouazizseck8838
@abdouazizseck8838 2 жыл бұрын
@@Deanin oh really thanks it's a paradise ticket
@dp2586
@dp2586 Жыл бұрын
how to convert image input by user into webp format ? help mee @Deanin
@Deanin
@Deanin Жыл бұрын
Hey there, saw this comment a few days ago and finally got around to it. Hope this helps! kzbin.info/www/bejne/mGXRlGyMi9qCbZo
@anthonyferrer1034
@anthonyferrer1034 Жыл бұрын
Does this also work in prod environment?
@MrHorse16
@MrHorse16 2 жыл бұрын
How would you recommend parsing a file uploaded to Active Storage?
@rodrigocalle98
@rodrigocalle98 2 жыл бұрын
How I can attach images to an API in Rails from Postman?
@Povai
@Povai 2 жыл бұрын
Video idea how to filter through models depending on the filters set
@Deanin
@Deanin 2 жыл бұрын
Added it to the list!
@karl2071
@karl2071 Жыл бұрын
10:58
Setup A Ruby on Rails 7 API With React JS
15:11
Deanin
Рет қаралды 43 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,2 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 100 МЛН
Should you use Ruby on Rails in 2024?
14:43
webcrunch
Рет қаралды 58 М.
Record your screen and save with Rails active storage
28:20
CJ Avilla (cjav_dev)
Рет қаралды 876
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 312 М.
Image Previews with Active Storage in Ruby on Rails 7
11:36
DRM explained - How Netflix prevents you from downloading videos?
18:17
Mehul - Codedamn
Рет қаралды 239 М.
The border property you never knew you needed
14:25
Kevin Powell
Рет қаралды 100 М.
Why I Personally Don't Use Ruby On Rails
14:23
Deanin
Рет қаралды 24 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН