Displaying 1 result from an estimated 1 matches for "ncc_billing_filestore".
2011 Feb 15
0
Question on Paperclip paths/urls
...ath (i.e. not setting this
attribute and files going to public/system), everything is fine. This
question is to do with setting an alternative path.
I have a model using paperclip for a file with a custom path:
has_attached_file :tu_raw_bill_csv,
:path =>
"../ncc_billing_filestore/:attachment/:id/:style/:filename"
The uploaded document gets saved correctly to the set path above, i.e.:
/system/tu_raw_bill_csvs/7/original/integral_tu_raw_bill_csv.txt?1297787632
However, the problem I am having is that when I present a link to the file
in the view (model#tu_raw_bill_cs...