All threads / Uploading Files to DigitalOcean Spaces Discussion

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Uploading Files to DigitalOcean Spaces Discussion

Tim Passmore ·

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

Reply
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`

Reply
Masud Rana Hossain ·

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

Reply
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 something.nyc3.digitaloceanspaces.com your url can be mycdn.mydomain.com.

Reply
I am not totally satisfied with Digital Ocean Spaces.  It is very slow at time.
Reply
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?
Reply
Join the discussion

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

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

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

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.