capistrano/capistrano — pull request #288 by Dishwasha (2012-10-12 18:53:34+00:00)
Title: Asset pipeline versioning

If you attempt to rollback and your assets get mucked up in the bad deployment, the site you roll back to will potentially have asset errors. Rather than re-precompiling assets on rollback and thereby slowing the rollback down, versioning assets just like releases is favorable (assuming you have the storage space). This may want to be a configurable option and users will have to put 'after "deploy", "deploy:assets:cleanup' in their deploy files just like 'after "deploy", "deploy:cleanup"'.