I have div tag named update_info in the view my_view.html.erb and update action takes several minute to complete in the controller my_controller.rb.
I'd like to update update_info div tag every seconds as update action's progress.
How can I do this?
Is it possible update view from the action's loop? Or using Ajax?, if so, how can I access to server-side data and where is the data stored?(I don't know much about Ajax, please explain using Rails' Ajax helper methods if needed)
Tell me detail plz. thanks.