search for: tu_raw_bill_csvs

Displaying 2 results from an estimated 2 matches for "tu_raw_bill_csvs".

Did you mean: tu_raw_bill_csv
2011 Feb 15
0
Question on Paperclip paths/urls
...ath. 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_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...
2011 Jul 24
4
Downloading files not stored in database?
Hello list, I am trying to add functionality to my application that will allow users to download files that are not stored in a database. All the examples I have found find the file by ID. which I can not do. Here is my code from the view: <h1>Browse files for download</h1> <% form_for(:download, :url=>{ :controller=>"download",