Skip to content

Instantly share code, notes, and snippets.

@vickys
vickys / gist:3193080
Created July 28, 2012 12:21
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.
@vickys
vickys / gist:3212425
Created July 31, 2012 01:07
Changing repository URL from github to bitbucket, could not parse error from Capistrano
rm -rf shared/cached-copy