Skip to content

Instantly share code, notes, and snippets.

@vickys
Created July 28, 2012 12:21
Show Gist options
  • Save vickys/3193080 to your computer and use it in GitHub Desktop.
Save vickys/3193080 to your computer and use it in GitHub Desktop.
Getting soft-delete to work with Carrierwave for rails 3.1.4 without deleting the file off disk
* git clone git@github.com:fairfaxomg/carrierwave.git
* git checkout a0f8810996d43e005972a70b5715f0f7b2f4f132
* git checkout -b soft_delete
* cd carrierwave
* git cherry-pick 5e28cca309789497d1ed78741960b5cec960ee1c
* push, point your gemfile at the commit, and off you go.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment