ActiveStorage directory and application migrations

13 Views Asked by At

The rails guide has no indications as to setting up a server to take into account migrations.

The way things are set-up with capistrano, this means that the storage directory would be overwritten upon every migration - which is not going to make matters straightforward moving along.

The immediate thought is to update the deploy.rb file to append :linked_dirs, 'storage' Is this correct or is there another way to work with this?

0

There are 0 best solutions below