I have uploaded an image with active storage in rails and attached it to a model but am stuck with how i an display it with the rest of the data. Am u ...
I have uploaded an image with active storage in rails and attached it to a model but am stuck with how i an display it with the rest of the data. Am u ...
I'v got problem with Active Storage under Rails 7. I read some posts but all are about Rails 5-6 and some methods was depreciated since then. Proble ...
I need to get a specific variant of an image when I start the server, which is why I attempt this with a Rake task that I call from within an initiali ...
Summary For a given GraphQL query against a Ruby on Rails 7 endpoint: I want a response that looks like this: { "data": { "posts": [ ...
Been trying to setup an ActiveStorage fixture to test my Rails 7 model using Minitest. I'm following steps in File attachment fixtures and Adding atta ...
I am trying to host rails sever as a backend. Nginx will redirect to localhost:3000 when the route start with /api. In my case, 'etl.robust.best/ap ...
I have used Azure Active Storage for all the user files that are uploaded on my application developed using Rails v6. Works perfectly fine. Now I wan ...
I am new to rails and I am adding an avatar image to my app, but when I try to resize it in my ApplicationHelper using the variant method the image ap ...
To prevent anyone with a url accessing restricted files, I need to check user role permissions to view those ActiveStorage model attachments beforehan ...
I upgraded Active Storage to store variants record in database using I duplicated some items with images and it caused broken variants I am generat ...
Is there a way to let user chose the order of images? Let say we have a Product model with has_many_attached :images And we want to let user chose th ...
My application uses Active Storage to manage images (attached to articles, user avatars, etc) and I get constant 500 errors when processing links of t ...
I am working on implementing a feature for adding products to the backend. I have successfully added the product to the backend, from the frontend, bu ...
I am trying to create a download link with active storage to download whatever files has been uploaded using the But instead it's showing me undefi ...
let say an application allows only images to be uploaded now yes images can contain a virus (source) However If the application is serving only resiz ...
So I didn't realize that I had been saving files and images in production to config.active_storage.service = :local I want it to match my staging whi ...
I'm converting ActionText HTML into PDF using Prawn-Markup. I need large images to be scaled down (not resized or cropped), which requires setting the ...
I have image in my project with ActiveStorage.attach And it actually work good. But after I add sidekiq for mailer I started saw error This error ...
I have a model with a Logo as attachment. When user uploads an image, the validation name and url validation should be skipped. The validates :logo ...
I am new to Rails and in this project I am suppose to build a program that allows you to create user accounts and upload profile pictures to it. Then ...