python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Activestorage - transfer all assets from one bucket to another bucket
Im switching my app from Vultr to DigitalOcean. Right now I have a bucket configured on Vultr along with the former server. When I try to access my activestorage images on Vultr from DigitalOcean th...
greyoxide
Votes: 0
Answers: 1
Active Storage Rails 6 API unable to insert to active_storage_attachments table
I am creating API endpoint for active storage with reactjs. My upload controller is as follows: The code belows execute:
insert blob object in active_storage_blob - ok
Upload file to designated pat...
Lyndon Abesamis
Votes: 0
Answers: 1
How to attach newly created .xlsx file to record?
class MyLog < ApplicationRecord
has_one_attached :xlsx_file
end
I create .xlsx file as email attachments:
xlsx = render_to_string layout: false, template: "dir/template"
xlsx_base64 = ...
aaltw
Votes: 0
Answers: 1
Rails 7 ActiveStorage DirectUpload to S3 presigned_url return 403
So I was able to set up the direct upload on the view, and send a request to the s3_presigned_url that I've created. The problem is: I'm getting a 403 Forbidden.
My main guess on the issue is about th...
Matheus Mendes
Votes: 0
Answers: 0