NoMethodError (undefined method `upload' for nil:NilClass)
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource
I'm trying to do this using AWS S3 and am getting a console error:
POST http://localhost:3000/rails/active_storage/direct_uploads 500 (Internal Server Error). Any steps I should check? The only thing I can think of is that it could have something to do with the modifications I used for S3 instead of DigitalOcean?
I followed this line for line - uploads work just fine except that when you update the record with new files the old ones are deleted. Is this the inteneded action or can you allow adding files to the collection?
Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.