Background processing in Rails

Posted by Shreyas Satish on Stack Overflow See other posts from Stack Overflow or by Shreyas Satish
Published on 2010-05-10T17:37:57Z Indexed on 2010/05/10 17:44 UTC
Read the original article Hit count: 197

Filed under:
|
|

A certain function in my controller takes a lot of time to process (heavy db work) . So when my user clicks on "submit" on the form he has to wait for the process to complete which is quite long. Is there any way that on "submitting", the user is redirected to the next view without any delay while the processing continues in the back-end without making the user wait ? Thanks & Cheers !

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about background