Hey everyone,
After working with CarrierWave for a couple of days a few of my images started disappearing. It took a while to work out what was causing it, but thankfully the fix is pretty easy:
#Set fog_public in your initialiser to true config.fog_public = false #Should be config.fog_public = true
Alternatively, if you’d like them to keep expiring but want to adjust their availability you can use the following config option:
#Number of seconds config.fog_authenticated_url_expiration = 60000
There’s a bit of info in the following StackOverflow post: http://stackoverflow.com/a/13757841/522859
Leave a Reply