Ask A Question


You’re not receiving notifications from this thread.

Uploading Files to DigitalOcean Spaces Discussion

Thanks Chris. This was very timely as I was just considering options on a file upload project at the moment.

Benjamin Groessing Benjamin Groessing

There's a typo in your config/initializers/shrine.rb: `regioin` instead of `region`

EDIT: Oh, and there's `imag_tag` instead of `image_tag`

Masud Rana Hossain Masud Rana Hossain

Is anyone else getting a CORS error when using jquery file upload?

Can you CDN digital ocean spaces?

Hey. Digital Ocean spaces does have CDN capabilities so you can use it for such. :)

It now also has support for a custom subdomain for your space. i.e. instead of your url can be

I am not totally satisfied with Digital Ocean Spaces.  It is very slow at time.
Thanks Chris for the only demo available on internet! 
However I'm trying to run this and receiving 

"Aws::S3::Errors::SignatureDoesNotMatch in PhotosController#create"

Do you probably know how to upload files correctly now?

Hey 1mehal, I know this was posted a few years back but were you able to get past this error?

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 71,933+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2023 GoRails, LLC. All rights reserved.