this is unfortunately my second time typing this out since googlegroups never posted my first message.
here’s my deal:
working on a rails app where the user fills in some form data and then with the given info i build a pdf with pdf-writer. after the pdf generates i want to have a link created on the next page for the user to download the pdf to their local machine. few questions: where’s the best place to store the pdf in the rails tree (i imagine somewhere in public) for the user to be able to download it. also, since many users will be using this interface i need a mechanism to junk stale reports. i suppose it could be done with a cron or backgroundrb type deal where it compares the timestamp of the file and the current time and deletes the file after a certain amount of time has passed (probably have a mechanism to regen the reports anyway)…
any other issues i might need to look out for?
thanks in advance…
stuart (the other one)