[Rails] background process fork - generating zip files

2009-04-11 Thread Carlos Santana
I am trying to generate a static archive (zip) as follows: Model has following method def generate_archive dir = /tmp/#{self.id} title = self.title.gsub(/^\s+/, '').gsub(/\s+$/, '').gsub(/\s+/, '-') id = self.id host = #{RAILS_ENV}_HOST.upcase.constantize url = url_for

[Rails] background process

2009-02-23 Thread Ankit Parekh
Hi all I am working on a heavy engineering project. And the requirement is that I needto do a lot of process before I store the data to the db. Now the question is that I want to do the process that I am doing but I want to do it in the background. What I actually mean to say is that..I just

[Rails] background process with ruby on rails

2008-12-04 Thread Jason
Here is what I'm trying to do. (not sure how to do steps 2 and 3) 1. User uploads a file to server ( i know how to do this ) 2. once uploaded a background process needs to be run on the file (could take a minute of 2 to complete) 3. display the results of the processing back to the user. (either