# Background process with ruby on rails

**URL:** <https://www.ruby-forum.com/t/background-process-with-ruby-on-rails/154880>\
**Category:** Rails\
**Created:** [December 4, 2008, 7:36pm UTC](https://www.ruby-forum.com/t/background-process-with-ruby-on-rails/154880 "2008-12-04T19:36:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jason](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@jason](https://www.ruby-forum.com/u/jason)\
**Post date:** [December 4, 2008, 7:36pm UTC](https://www.ruby-forum.com/t/background-process-with-ruby-on-rails/154880/1 "2008-12-04T19:36:16Z")

</div>

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 as  
a statically created file or somehow returning some results to rails)

If possible to have ajax thing showing progress that would be nice,  
but not required.

Any ideas where to even start with this? Pointers to documention or a  
sample code would be ideal? I’m sure someone has done this before.

thanks  
j

---

<div class="post-metadata">

**Author:** ![jason](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@jason](https://www.ruby-forum.com/u/jason)\
**Post date:** [July 29, 2009, 8:25am UTC](https://www.ruby-forum.com/t/background-process-with-ruby-on-rails/154880/2 "2009-07-29T08:25:35Z")

</div>

I’m trying to do the same thing. Have you figured this out?

---

<div class="post-metadata">

**Author:** ![jason](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@jason](https://www.ruby-forum.com/u/jason)\
**Post date:** [July 29, 2009, 11:08am UTC](https://www.ruby-forum.com/t/background-process-with-ruby-on-rails/154880/3 "2009-07-29T11:08:10Z")

</div>

Hi  
Check this

> **[GitHub - tra/spawn: Placeholder for the repo previously known as spawn](https://github.com/tra/spawn/tree/master)**
>
> master

Sijo
