Displaying 1 result from an estimated 1 matches for "integral_tu_raw_bill_csv".
2011 Feb 15
0
Question on Paperclip paths/urls
...aperclip 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_csv.url), it holds the following url:
http://localhost:3000/system/tu_raw_bill_csvs/7/original/integral_tu_raw_bill_csv.txt?1297787632
As well, if I interrogate my model for...