Forum: Ruby on Rails Best Practice: file_column+Switchtower

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Hunter's Lists (Guest)
on 2005-12-29 04:22
(Received via mailing list)
Finally getting my app up and running with Switchtower. I am also using
file_column in my project.

By default, it creates a directory for each model under 'public' and
goes
from there.

I have users adding files in my production application and those files
they
added aren't managed under SVN as they aren't part of the app, they are
added content. Plus, since they add/change/remove content via the Web
interface, having it under SVN isn't practical.

Of course, with Switchtower, 'public' gets replaced each time with
whatever
is in SVN.

So, how are people using file_column and Switchtower together? Changing
paths? Symlinks of some kind? Custom tasks?

Cheers.
Douglas T. (Guest)
on 2005-12-29 05:11
(Received via mailing list)
how about having the uploaded files saved to another folder outside of
the
Rails app hierarchy, then using asset_host to serve the files? That's
what
i'm doing for my application
This topic is locked and can not be replied to.