Page Title
Body It is very common to have a folder under your public directory where users can upload files- photos, documents, etc. You might be using attachment_fu or file_column to accomplish this. Since Capistrano checks out a fresh copy of your code each time, we want to make sure the uploaded files are still going to be there afterwards. Make sure you don't have those upload folders under version control, then uncomment and update this line in deploy.rb: <pre><code>set :app_symlinks, %w{photo document asset}</code></pre> Remember to commit your changes. The next time you deploy, the railsmachine gem will create folders under /var/www/apps/yourapp/shared/public and will create symlinks from your latest code to that location.
Make page private