Skip to content

Instantly share code, notes, and snippets.

@nicolaslazartekaqui
Created April 1, 2016 06:44
Show Gist options
  • Save nicolaslazartekaqui/a68f6bd2fce01fe3a057806105ec9ad9 to your computer and use it in GitHub Desktop.
Save nicolaslazartekaqui/a68f6bd2fce01fe3a057806105ec9ad9 to your computer and use it in GitHub Desktop.
Update carrierwave image on s3
c = MODEL.find(ID);
c.image.recreate_versions!
c.save!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment