Skip to content

Instantly share code, notes, and snippets.

@qoobaa
Last active December 21, 2016 12:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qoobaa/55f2ea0c75244b234dca74d7fc9c1b9c to your computer and use it in GitHub Desktop.
Save qoobaa/55f2ea0c75244b234dca74d7fc9c1b9c to your computer and use it in GitHub Desktop.
Attachment.find_each { |a| f = a.file; f.fog_authenticated_url_expiration = 24.hours.to_i; puts "#{f.path},#{f.url}" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment