Handle uploads dir using capistrano (neat way)
Just add below lines to deploy.rb and you'll have automatically setup.
set :uploads_dirs, %w(public/uploads)
set :shared_children, fetch(:shared_children) + fetch(:uploads_dirs)
Happy deploy!
Written by Alif Rachmawadi
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#