I am trying to get attachment_fu to store files in a separate directory tree, so that when I use Capistrano to update the site the 'public/files' directory doesnt get left behind, thus losing the previously uploaded files.
So I have redefined full_filename from attachment_fu to use '/usr/home/ sitename/files' as the tree root, then the model may add
But it doesnt seem to work..... I say seem because attachment_fu IS putting the file somewhere, as I can get it back on the display page.....but where it is going is a mystery.
The files are NOT in public/* nor are they in /usr/home/sitename/files/ * .....
I have tried putting the full_filename rewrite in both the model rfc.rb (which seems to be the logical place) and alternately in the appropriate controller i.e. rfc_controller.rb
I am still quite a newbie so me understanding what to test from the console is approaching zero.
Am I approaching this from the correct direction, or is there some other method to use?
mjt