title: Delete files in my Rails 3.2 that are stored in the public/data folder after downloading
body: <p>I have a rails 3.2 app that you can upload a file then it provides a download link to download the file. I want the app to auto delete the files after a certain number of days/hours after it's been download. So this will clear up space in the app for more downloading. The upload files are going into public/data folder in my app. I have searched and can't seem to find much on this. I believe it my be some kind of script placed in my app but not sure how or where to start. Any help would be cool? Thanks!</p>