Thank you Jeff.

How can I do it without blocking any other requests? I tried to do this 
multi-threading with no success (got into infinite loop condition).

Also, I read that while running background system commands it is good 
practice to start new fork rather than a new thread. This gives us more 
control over the code.

Is there anyway to run this background process without blocking other 
requests and also get to know it's completion status?

Any help appreciated.

Thanks,
CS.

Jeff Burlysystems wrote:
> One way you could do it:
> 
>   # in your model meth:

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to