Hey. I would like to upload a file and then analyze it. Since parsing can take up to 10 minutes, I installed the delayed_job plugin and called the parsing function via the send_later function. I must mention that this is an AJAX application.
Imagine that you press the AJAX button, which starts loading, and after that the source will be imported into the database. During the process, I want to show a progress bar or message (import ...) and when it will complete the task status changes.
My question is: what is the best way to check the status of a process. What would you do? My idea is to have another controller status, which is viewing the database and providing the correct status.
source share