Rails 5.2 ActiveStorage Introduction

  Рет қаралды 22,976

GoRails

GoRails

Күн бұрын

Пікірлер
@asmentko
@asmentko 5 жыл бұрын
Thank you! I was banging my head for hours trying to get active storage to work and your video finally got me unstuck.
@mktaha
@mktaha 5 жыл бұрын
Thanks for the great video. Could you show how you can manipulate an image in active storage? For example, rotate the image that was already uploaded? Thanks.
@bradchellingworth5973
@bradchellingworth5973 6 жыл бұрын
Can you do a video on how to do this file uploads from Vue using rails api? Im finding it really difficult and I think using rails as an api is probably a more popular usage these days.
@prasangathapaliya8294
@prasangathapaliya8294 4 жыл бұрын
How can we upload videos and count views if it has been watched fully?
@hakooplayplay3212
@hakooplayplay3212 6 жыл бұрын
Need more info about creating link to purge file, please!
@SS-li3ft
@SS-li3ft 2 жыл бұрын
Hai can you do an episode for creating modal carousel with active storage has_ many_attachment
@nikos83
@nikos83 5 жыл бұрын
Great video thanks! I just add AS to my app on local it was easy but don't really know how to do it on VPS. I'm using Capistrano to deploy on VPS. Maybe someone know how to do it please?
@Ignas_
@Ignas_ 6 жыл бұрын
Excellent tutorial.
@byteboxing
@byteboxing 6 жыл бұрын
Thank you so much! Your Videos are greate! How would i create a upload form for multiple files, which all create a single record? For example: I have a "Photo" model which stores some things arround one uploaded image. Like Description, Keywords, location and so on. But i would like to give the users the ability to upload a bunch of files all at once.
@UsefulProgrammer
@UsefulProgrammer 6 жыл бұрын
Excellent tutorial. Thank you.
@austinklenk9571
@austinklenk9571 6 жыл бұрын
When can you do the video with direct uploads to digital ocean spaces with active storage. I'm encountering a NotImplementedError url for direct upload :(
@gmmcal
@gmmcal 6 жыл бұрын
is there a way to handle resizing after upload is complete, like most upload gems do?if I got it right, the resize is done on the first render of the view, and that could cause the server to hang if you have many images to be resized. PS: I haven't checked documentation yet
@GorailsTV
@GorailsTV 6 жыл бұрын
You would simply just reference the processed variant server side to do that. Same thing as in the views, but that'll force processing after upload. avatar.variant(resize: "100x100").processed
@mikesitex
@mikesitex 6 жыл бұрын
After upload, could you fetch the image from S3 (or wherever) and resize it with a background job?
@eonacademy5036
@eonacademy5036 3 жыл бұрын
Thank you! 😺
@dailyrise1111
@dailyrise1111 4 жыл бұрын
Excellent! as usual!
@GorailsTV
@GorailsTV 4 жыл бұрын
Thanks Justin!
@TheddunTOSS
@TheddunTOSS 5 жыл бұрын
Does this leak the original S3 link or ist that hidden behind Rails' router?
@GorailsTV
@GorailsTV 5 жыл бұрын
It's an expiring s3 link. The only way to truly hide the s3 link would be to download the file from s3 and re-serve it from rails which is really inefficient.
@TheddunTOSS
@TheddunTOSS 5 жыл бұрын
@@GorailsTV Thanks! So it leaks a S3 link, but that expires after some minutes and is not identical to the original link, right?
@GorailsTV
@GorailsTV 5 жыл бұрын
@@TheddunTOSSIt's a direct link to the file in S3, but with a token that allows access for a short time. You can't access the file without a valid token.
@TheddunTOSS
@TheddunTOSS 5 жыл бұрын
@@GorailsTV Thank you very much!
@MuhammadWaseem-mj3ge
@MuhammadWaseem-mj3ge 2 жыл бұрын
How can I get permanent non expiring url? I have moved my app from paperclip to active storage and link expiring has become a serve issue for my app and headache for me! Is there any way that I don't have to take care about the link expiry or can I get a permanent url which I can uses anytime anywhere?
@primetimetran
@primetimetran 6 жыл бұрын
Awesome stuff bud
@dineshanthony697
@dineshanthony697 5 жыл бұрын
great!
@torvic99
@torvic99 6 жыл бұрын
more more more!
@romenigld
@romenigld 6 жыл бұрын
the quality of the video is not good.
How To Use Import Maps with Rails
18:12
GoRails
Рет қаралды 1,9 М.
Direct Uploads with Rails ActiveStorage
15:52
GoRails
Рет қаралды 17 М.
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Rails Concerns vs. Modules and when to use each
13:18
webcrunch
Рет қаралды 2 М.
Background Processing with Rails, Redis and Sidekiq
15:00
Decypher Media
Рет қаралды 61 М.
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 314 М.
@mentions for Users with ActionText in Rails 6
20:25
GoRails
Рет қаралды 9 М.
Image Previews with Active Storage in Ruby on Rails 7
11:36
Google’s Quantum Chip: Did We Just Tap Into Parallel Universes?
9:34