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
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
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
3 matches
Mail list logo